Skip to content

Commit afd6e36

Browse files
committed
Add park labels
1 parent cf3fd57 commit afd6e36

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

style.json

+53
Original file line numberDiff line numberDiff line change
@@ -3823,6 +3823,59 @@
38233823
"text-opacity": 1
38243824
}
38253825
},
3826+
{
3827+
"id": "park-label",
3828+
"type": "symbol",
3829+
"metadata": {
3830+
"mapbox:group": "1444849242106.713"
3831+
},
3832+
"source": "openmaptiles",
3833+
"source-layer": "park",
3834+
"filter": [
3835+
"all",
3836+
[
3837+
"==",
3838+
"rank",
3839+
1
3840+
],
3841+
[
3842+
"==",
3843+
"$type",
3844+
"Point"
3845+
]
3846+
],
3847+
"layout": {
3848+
"text-letter-spacing": 0.1,
3849+
"text-size": {
3850+
"base": 1.2,
3851+
"stops": [
3852+
[
3853+
12,
3854+
10
3855+
],
3856+
[
3857+
15,
3858+
14
3859+
]
3860+
]
3861+
},
3862+
"text-font": [
3863+
"Noto Sans Regular"
3864+
],
3865+
"text-field": "{name:latin}\n{name:nonlatin}",
3866+
"text-transform": "none",
3867+
"text-max-width": 9,
3868+
"visibility": "visible",
3869+
"text-allow-overlap": false,
3870+
"text-ignore-placement": false
3871+
},
3872+
"paint": {
3873+
"text-color": "rgba(74, 110, 56, 1)",
3874+
"text-halo-width": 1.2,
3875+
"text-halo-color": "rgba(255,255,255,0.8)"
3876+
},
3877+
"minzoom": 0
3878+
},
38263879
{
38273880
"id": "place-other",
38283881
"type": "symbol",

0 commit comments

Comments
 (0)