Skip to content

Commit

Permalink
Distinguish disputed countries
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Dec 5, 2017
1 parent cb9e558 commit 92e955f
Showing 1 changed file with 84 additions and 22 deletions.
106 changes: 84 additions & 22 deletions style.json
Original file line number Diff line number Diff line change
Expand Up @@ -1716,17 +1716,78 @@
"Point"
],
[
"all",
[
"==",
"class",
"country"
],
[
">=",
"rank",
2
"==",
"class",
"country"
],
[
">=",
"rank",
2
],
[
"!has",
"iso_a2"
]
],
"layout": {
"visibility": "visible",
"text-field": "{name_en}",
"text-font": [
"Metropolis Medium Italic",
"Klokantech Noto Sans Italic",
"Klokantech Noto Sans CJK Regular"
],
"text-transform": "uppercase",
"text-size": {
"base": 1,
"stops": [
[
0,
9
],
[
1,
11
]
]
}
},
"paint": {
"text-halo-width": 1.4,
"text-halo-color": "rgba(0,0,0,0.7)",
"text-color": "rgb(101,101,101)"
}
},
{
"id": "place_country_minor",
"type": "symbol",
"metadata": {
"mapbox:group": "101da9f13b64a08fa4b6ac1168e89e5f"
},
"source": "openmaptiles",
"source-layer": "place",
"maxzoom": 8,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
"==",
"class",
"country"
],
[
">=",
"rank",
2
],
[
"has",
"iso_a2"
]
],
"layout": {
Expand Down Expand Up @@ -1775,17 +1836,18 @@
"Point"
],
[
"all",
[
"<=",
"rank",
1
],
[
"==",
"class",
"country"
]
"<=",
"rank",
1
],
[
"==",
"class",
"country"
],
[
"has",
"iso_a2"
]
],
"layout": {
Expand Down Expand Up @@ -1824,4 +1886,4 @@
}
],
"id": "ciwf4jmfe00882qmzvu5vh0zx"
}
}

0 comments on commit 92e955f

Please sign in to comment.