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

44 lines
840 B
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64,
"description": "Tests that zero text-size values are properly handled.",
"operations": [
["wait"],
["setZoom", 18]
]
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"zoom": 17,
"layers": [
{
"id": "symbol",
"type": "symbol",
"source": "geojson",
"layout": {
"text-size": ["interpolate",["linear"],["zoom"],17.0,0.0,18.0,10.0,22.0,12.5],
"text-field": "ABC",
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
]
}
}
]
}