pull/11/head
Lukas Martinelli 8 years ago
parent 5960f499b2
commit b49a003161

@ -3004,12 +3004,12 @@
} }
}, },
{ {
"id": "poi_label_4", "id": "poi_z17",
"type": "symbol", "type": "symbol",
"metadata": {}, "metadata": {},
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "poi_label", "source-layer": "poi",
"minzoom": 16, "minzoom": 17,
"filter": [ "filter": [
"all", "all",
[ [
@ -3018,15 +3018,15 @@
"Point" "Point"
], ],
[ [
"==", ">=",
"rank", "rank",
4 20
] ]
], ],
"layout": { "layout": {
"icon-image": "{maki}-11", "icon-image": "{class}-11",
"text-anchor": "top", "text-anchor": "top",
"text-field": "{name_en}", "text-field": "{name}",
"text-font": [ "text-font": [
"Roboto Regular" "Roboto Regular"
], ],
@ -3046,12 +3046,12 @@
} }
}, },
{ {
"id": "poi_label_3", "id": "poi_z16",
"type": "symbol", "type": "symbol",
"metadata": {}, "metadata": {},
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "poi_label", "source-layer": "poi",
"minzoom": 15, "minzoom": 16,
"filter": [ "filter": [
"all", "all",
[ [
@ -3060,15 +3060,20 @@
"Point" "Point"
], ],
[ [
"==", ">=",
"rank", "rank",
3 10
],
[
"<",
"rank",
15
] ]
], ],
"layout": { "layout": {
"icon-image": "{maki}-11", "icon-image": "{class}-11",
"text-anchor": "top", "text-anchor": "top",
"text-field": "{name_en}", "text-field": "{name}",
"text-font": [ "text-font": [
"Roboto Condensed Italic" "Roboto Condensed Italic"
], ],
@ -3088,12 +3093,12 @@
} }
}, },
{ {
"id": "poi_label_2", "id": "poi_z15",
"type": "symbol", "type": "symbol",
"metadata": {}, "metadata": {},
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "poi_label", "source-layer": "poi",
"minzoom": 14, "minzoom": 15,
"filter": [ "filter": [
"all", "all",
[ [
@ -3102,15 +3107,20 @@
"Point" "Point"
], ],
[ [
"==", ">=",
"rank", "rank",
2 5
],
[
"<",
"rank",
10
] ]
], ],
"layout": { "layout": {
"icon-image": "{maki}-11", "icon-image": "{class}-11",
"text-anchor": "top", "text-anchor": "top",
"text-field": "{name_en}", "text-field": "{name}",
"text-font": [ "text-font": [
"Roboto Condensed Italic" "Roboto Condensed Italic"
], ],
@ -3130,75 +3140,90 @@
} }
}, },
{ {
"id": "rail_station_label", "id": "poi_z14",
"type": "symbol", "type": "symbol",
"metadata": {}, "metadata": {},
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "rail_station_label", "source-layer": "poi",
"minzoom": 14,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
">=",
"rank",
1
],
[
"<",
"rank",
5
]
],
"layout": { "layout": {
"icon-image": "{maki}-11", "icon-image": "{class}-11",
"text-anchor": "left", "text-anchor": "top",
"text-field": "{name_en}", "text-field": "{name}",
"text-font": [ "text-font": [
"Roboto Condensed Italic" "Roboto Condensed Italic"
], ],
"text-max-width": 9, "text-max-width": 9,
"text-offset": [ "text-offset": [
0.9, 0,
0 0.6
], ],
"text-padding": 2, "text-padding": 2,
"text-size": 12, "text-size": 12
"visibility": "visible"
}, },
"paint": { "paint": {
"text-color": "#4898ff", "text-color": "#666",
"text-halo-blur": 0.5, "text-halo-blur": 0.5,
"text-halo-color": "#ffffff", "text-halo-color": "#ffffff",
"text-halo-width": 1 "text-halo-width": 1
} }
}, },
{ {
"id": "poi_label_1", "id": "poi_transit",
"type": "symbol", "type": "symbol",
"metadata": {}, "metadata": {},
"source": "openmaptiles", "source": "openmaptiles",
"source-layer": "poi_label", "source-layer": "poi",
"minzoom": 13,
"filter": [
"all",
[
"==",
"$type",
"Point"
],
[
"==",
"rank",
1
]
],
"layout": { "layout": {
"icon-image": "{maki}-11", "icon-image": "{maki}-11",
"text-anchor": "top", "text-anchor": "left",
"text-field": "{name_en}", "text-field": "{name_en}",
"text-font": [ "text-font": [
"Roboto Condensed Italic" "Roboto Condensed Italic"
], ],
"text-max-width": 9, "text-max-width": 9,
"text-offset": [ "text-offset": [
0, 0.9,
0.6 0
], ],
"text-padding": 2, "text-padding": 2,
"text-size": 12 "text-size": 12,
"visibility": "visible"
}, },
"paint": { "paint": {
"text-color": "#666", "text-color": "#4898ff",
"text-halo-blur": 0.5, "text-halo-blur": 0.5,
"text-halo-color": "#ffffff", "text-halo-color": "#ffffff",
"text-halo-width": 1 "text-halo-width": 1
} },
"filter": [
"all",
[
"in",
"class",
"bus",
"rail",
"airport"
]
]
}, },
{ {
"id": "road_label", "id": "road_label",

Loading…
Cancel
Save