Skip to content

Commit

Permalink
Add park labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Dec 9, 2018
1 parent ef0b5f6 commit 4945e59
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions style.json
Original file line number Diff line number Diff line change
Expand Up @@ -1548,6 +1548,59 @@
"source-layer": "transportation_name",
"type": "symbol"
},
{
"id": "park-label",
"type": "symbol",
"metadata": {
"mapbox:group": "1444849242106.713"
},
"source": "openmaptiles",
"source-layer": "park",
"filter": [
"all",
[
"==",
"rank",
1
],
[
"==",
"$type",
"Point"
]
],
"layout": {
"text-letter-spacing": 0.1,
"text-size": {
"base": 1.2,
"stops": [
[
12,
10
],
[
15,
14
]
]
},
"text-font": [
"Noto Sans Regular"
],
"text-field": "{name:latin}\n{name:nonlatin}",
"text-transform": "none",
"text-max-width": 9,
"visibility": "visible",
"text-allow-overlap": false,
"text-ignore-placement": false
},
"paint": {
"text-color": "rgba(38, 92, 46, 1)",
"text-halo-width": 1.2,
"text-halo-color": "rgba(255,255,255,0.8)"
},
"minzoom": 0
},
{
"filter": [
"all",
Expand Down

0 comments on commit 4945e59

Please sign in to comment.