Skip to content

Commit

Permalink
Use ["to-boolean", "maritime"]
Browse files Browse the repository at this point in the history
  • Loading branch information
zstadler committed Sep 21, 2024
1 parent 052bdea commit 74a79dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
17 changes: 7 additions & 10 deletions Styles/IHM.json
Original file line number Diff line number Diff line change
Expand Up @@ -1232,14 +1232,13 @@
"filter": [
"all",
["==", "admin_level", 2],
["!=", "maritime", 1],
["!", ["to-boolean", "maritime"]],
[
"!in",
"name:en",
"1949 Armistice Line",
"Jerusalem City Municipal Boundary (Israel)",
"Israel - Syria",
"Israel- Syria"
"Israel - Syria"
]
],
"paint": {"line-dasharray": [2.5, 6, 1.5, 0]}
Expand All @@ -1254,14 +1253,13 @@
"filter": [
"all",
["==", "admin_level", 2],
["!=", "maritime", 1],
["!", ["to-boolean", "maritime"]],
[
"!in",
"name:en",
"1949 Armistice Line",
"Jerusalem City Municipal Boundary (Israel)",
"Israel - Syria",
"Israel- Syria"
"Israel - Syria"
]
],
"paint": {"line-dasharray": [0.2, 1.8], "line-width": 5}
Expand All @@ -1276,14 +1274,13 @@
"filter": [
"all",
["==", "admin_level", 2],
["!=", "maritime", 1],
["!", ["to-boolean", "maritime"]],
[
"!in",
"name:en",
"1949 Armistice Line",
"Jerusalem City Municipal Boundary (Israel)",
"Israel - Syria",
"Israel- Syria"
"Israel - Syria"
]
],
"paint": {"line-opacity": 0.33, "line-width": 2}
Expand Down Expand Up @@ -1315,7 +1312,7 @@
"filter": [
"all",
["==", "admin_level", 2],
["in", "name:en", "Israel - Syria", "Israel- Syria"]
["==", "name:en", "Israel - Syria"]
],
"paint": {"line-opacity": 0.33, "line-color": "blue", "line-width": 2}
},
Expand Down
6 changes: 2 additions & 4 deletions Styles/ilMTB.json
Original file line number Diff line number Diff line change
Expand Up @@ -1708,7 +1708,7 @@
"filter": [
"all",
["==", "admin_level", 2],
["!=", "maritime", 1],
["!", ["to-boolean", "maritime"]],
[
"!in",
"name:en",
Expand Down Expand Up @@ -1737,7 +1737,7 @@
"filter": [
"all",
["==", "admin_level", 2],
["!=", "maritime", 1],
["!", ["to-boolean", "maritime"]],
[
"!in",
"name:en",
Expand Down Expand Up @@ -1766,7 +1766,6 @@
"filter": [
"all",
["==", "admin_level", 2],
["!=", "maritime", 1],
[
"in",
"name:en",
Expand Down Expand Up @@ -1794,7 +1793,6 @@
"filter": [
"all",
["==", "admin_level", 2],
["!=", "maritime", 1],
[
"in",
"name:en",
Expand Down

0 comments on commit 74a79dc

Please sign in to comment.