Files
MapLibreParticleLab/metrics/integration/render-tests/text-halo-width/function/style.json
2023-03-25 14:46:49 +01:00

51 lines
843 B
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "symbol",
"type": "symbol",
"source": "geojson",
"layout": {
"text-field": "ABC",
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
]
},
"paint": {
"text-halo-color": "red",
"text-halo-width": {
"stops": [
[
16,
4
],
[
17,
5
]
]
}
}
}
]
}