Fix icon names
This commit is contained in:
parent
6222dbd590
commit
ff7d5ee041
63
style.json
63
style.json
@ -3141,48 +3141,6 @@
|
|||||||
},
|
},
|
||||||
"minzoom": 0
|
"minzoom": 0
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "poi_z17",
|
|
||||||
"type": "symbol",
|
|
||||||
"metadata": {},
|
|
||||||
"source": "openmaptiles",
|
|
||||||
"source-layer": "poi",
|
|
||||||
"minzoom": 17,
|
|
||||||
"filter": [
|
|
||||||
"all",
|
|
||||||
[
|
|
||||||
"==",
|
|
||||||
"$type",
|
|
||||||
"Point"
|
|
||||||
],
|
|
||||||
[
|
|
||||||
">=",
|
|
||||||
"rank",
|
|
||||||
20
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"layout": {
|
|
||||||
"icon-image": "{class}-11",
|
|
||||||
"text-anchor": "top",
|
|
||||||
"text-field": "{name}",
|
|
||||||
"text-font": [
|
|
||||||
"Roboto Regular"
|
|
||||||
],
|
|
||||||
"text-max-width": 9,
|
|
||||||
"text-offset": [
|
|
||||||
0,
|
|
||||||
0.6
|
|
||||||
],
|
|
||||||
"text-padding": 2,
|
|
||||||
"text-size": 12
|
|
||||||
},
|
|
||||||
"paint": {
|
|
||||||
"text-color": "#666",
|
|
||||||
"text-halo-blur": 0.5,
|
|
||||||
"text-halo-color": "#ffffff",
|
|
||||||
"text-halo-width": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "poi_z16",
|
"id": "poi_z16",
|
||||||
"type": "symbol",
|
"type": "symbol",
|
||||||
@ -3200,16 +3158,11 @@
|
|||||||
[
|
[
|
||||||
">=",
|
">=",
|
||||||
"rank",
|
"rank",
|
||||||
10
|
20
|
||||||
],
|
|
||||||
[
|
|
||||||
"<",
|
|
||||||
"rank",
|
|
||||||
15
|
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"layout": {
|
"layout": {
|
||||||
"icon-image": "{class}-11",
|
"icon-image": "{class}_11",
|
||||||
"text-anchor": "top",
|
"text-anchor": "top",
|
||||||
"text-field": "{name}",
|
"text-field": "{name}",
|
||||||
"text-font": [
|
"text-font": [
|
||||||
@ -3247,16 +3200,16 @@
|
|||||||
[
|
[
|
||||||
">=",
|
">=",
|
||||||
"rank",
|
"rank",
|
||||||
5
|
7
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"<",
|
"<",
|
||||||
"rank",
|
"rank",
|
||||||
10
|
20
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"layout": {
|
"layout": {
|
||||||
"icon-image": "{class}-11",
|
"icon-image": "{class}_11",
|
||||||
"text-anchor": "top",
|
"text-anchor": "top",
|
||||||
"text-field": "{name}",
|
"text-field": "{name}",
|
||||||
"text-font": [
|
"text-font": [
|
||||||
@ -3299,11 +3252,11 @@
|
|||||||
[
|
[
|
||||||
"<",
|
"<",
|
||||||
"rank",
|
"rank",
|
||||||
5
|
7
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"layout": {
|
"layout": {
|
||||||
"icon-image": "{class}-11",
|
"icon-image": "{class}_11",
|
||||||
"text-anchor": "top",
|
"text-anchor": "top",
|
||||||
"text-field": "{name}",
|
"text-field": "{name}",
|
||||||
"text-font": [
|
"text-font": [
|
||||||
@ -3331,7 +3284,7 @@
|
|||||||
"source": "openmaptiles",
|
"source": "openmaptiles",
|
||||||
"source-layer": "poi",
|
"source-layer": "poi",
|
||||||
"layout": {
|
"layout": {
|
||||||
"icon-image": "{maki}-11",
|
"icon-image": "{maki}_11",
|
||||||
"text-anchor": "left",
|
"text-anchor": "left",
|
||||||
"text-field": "{name_en}",
|
"text-field": "{name_en}",
|
||||||
"text-font": [
|
"text-font": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user