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

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

Loading…
Cancel
Save