Fix state source
This commit is contained in:
parent
9dfeb23307
commit
b5d7898dd6
14
style.json
14
style.json
@ -4057,11 +4057,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "state_label",
|
"id": "state",
|
||||||
"type": "symbol",
|
"type": "symbol",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": "openmaptiles",
|
"source": "openmaptiles",
|
||||||
"source-layer": "state_label",
|
"source-layer": "place",
|
||||||
"maxzoom": 6,
|
"maxzoom": 6,
|
||||||
"layout": {
|
"layout": {
|
||||||
"text-field": "{name_en}",
|
"text-field": "{name_en}",
|
||||||
@ -4086,7 +4086,15 @@
|
|||||||
"text-color": "#633",
|
"text-color": "#633",
|
||||||
"text-halo-color": "rgba(255,255,255,0.7)",
|
"text-halo-color": "rgba(255,255,255,0.7)",
|
||||||
"text-halo-width": 1
|
"text-halo-width": 1
|
||||||
}
|
},
|
||||||
|
"filter": [
|
||||||
|
"all",
|
||||||
|
[
|
||||||
|
"==",
|
||||||
|
"class",
|
||||||
|
"state"
|
||||||
|
]
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "country_3",
|
"id": "country_3",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user