Migrate place layers
This commit is contained in:
parent
62828aa9b4
commit
b9fda896f2
64
style.json
64
style.json
@ -3489,19 +3489,22 @@
|
|||||||
"paint": {}
|
"paint": {}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "place_label_other",
|
"id": "place_other",
|
||||||
"type": "symbol",
|
"type": "symbol",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": "openmaptiles",
|
"source": "openmaptiles",
|
||||||
"source-layer": "place_label",
|
"source-layer": "place",
|
||||||
"filter": [
|
"filter": [
|
||||||
"in",
|
"all",
|
||||||
"type",
|
[
|
||||||
"hamlet",
|
"in",
|
||||||
"island",
|
"class",
|
||||||
"islet",
|
"hamlet",
|
||||||
"neighbourhood",
|
"island",
|
||||||
"suburb"
|
"islet",
|
||||||
|
"neighbourhood",
|
||||||
|
"suburb"
|
||||||
|
]
|
||||||
],
|
],
|
||||||
"layout": {
|
"layout": {
|
||||||
"text-field": "{name_en}",
|
"text-field": "{name_en}",
|
||||||
@ -3532,15 +3535,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "place_label_village",
|
"id": "place_village",
|
||||||
"type": "symbol",
|
"type": "symbol",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": "openmaptiles",
|
"source": "openmaptiles",
|
||||||
"source-layer": "place_label",
|
"source-layer": "place",
|
||||||
"filter": [
|
"filter": [
|
||||||
"==",
|
"all",
|
||||||
"type",
|
[
|
||||||
"village"
|
"==",
|
||||||
|
"class",
|
||||||
|
"village"
|
||||||
|
]
|
||||||
],
|
],
|
||||||
"layout": {
|
"layout": {
|
||||||
"text-field": "{name_en}",
|
"text-field": "{name_en}",
|
||||||
@ -3569,15 +3575,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "place_label_town",
|
"id": "place_town",
|
||||||
"type": "symbol",
|
"type": "symbol",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": "openmaptiles",
|
"source": "openmaptiles",
|
||||||
"source-layer": "place_label",
|
"source-layer": "place",
|
||||||
"filter": [
|
"filter": [
|
||||||
"==",
|
"all",
|
||||||
"type",
|
[
|
||||||
"town"
|
"==",
|
||||||
|
"class",
|
||||||
|
"town"
|
||||||
|
]
|
||||||
],
|
],
|
||||||
"layout": {
|
"layout": {
|
||||||
"icon-image": {
|
"icon-image": {
|
||||||
@ -3624,16 +3633,19 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "place_label_city",
|
"id": "place_city",
|
||||||
"type": "symbol",
|
"type": "symbol",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": "openmaptiles",
|
"source": "openmaptiles",
|
||||||
"source-layer": "place_label",
|
"source-layer": "place",
|
||||||
"minzoom": 5,
|
"minzoom": 5,
|
||||||
"filter": [
|
"filter": [
|
||||||
"==",
|
"all",
|
||||||
"type",
|
[
|
||||||
"city"
|
"==",
|
||||||
|
"class",
|
||||||
|
"city"
|
||||||
|
]
|
||||||
],
|
],
|
||||||
"layout": {
|
"layout": {
|
||||||
"icon-image": {
|
"icon-image": {
|
||||||
@ -3671,7 +3683,9 @@
|
|||||||
24
|
24
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"icon-allow-overlap": true,
|
||||||
|
"icon-optional": false
|
||||||
},
|
},
|
||||||
"paint": {
|
"paint": {
|
||||||
"text-color": "#333",
|
"text-color": "#333",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user