Skip to content

Commit

Permalink
Add airport labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jirik committed Dec 5, 2017
1 parent af374a0 commit d28cf0b
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions style.json
Original file line number Diff line number Diff line change
Expand Up @@ -1181,6 +1181,43 @@
},
"maxzoom": 24
},
{
"id": "airport-label",
"type": "symbol",
"source": "openmaptiles",
"source-layer": "aerodrome_label",
"minzoom": 10,
"filter": [
"all",
[
"has",
"iata"
]
],
"layout": {
"text-size": 11,
"text-font": [
"Klokantech Noto Sans Regular",
"Klokantech Noto Sans CJK Regular"
],
"visibility": "visible",
"text-offset": [
0,
0.5
],
"icon-size": 1,
"text-anchor": "top",
"text-field": "{name}",
"text-max-width": 8
},
"paint": {
"text-color": "#666",
"text-halo-width": 1,
"text-halo-color": "rgba(255,255,255,0.75)",
"text-halo-blur": 1
},
"maxzoom": 24
},
{
"id": "road_major_label",
"type": "symbol",
Expand Down

0 comments on commit d28cf0b

Please sign in to comment.