Files
MapLibreParticleLab/metrics/integration/render-tests/icon-size/camera-function-sdf/style.json
2023-03-25 14:46:49 +01:00

50 lines
894 B
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64
}
},
"zoom": 0.5,
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": { "x": 0 },
"geometry": {
"type": "Point",
"coordinates": [ 0, 0 ]
}
}
]
}
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"sprite": "local://sprites/sprite",
"layers": [
{
"id": "symbol",
"type": "symbol",
"source": "geojson",
"layout": {
"icon-size": {
"stops": [
[ 0, 1 ],
[ 1, 2 ]
]
},
"icon-image": "dot.sdf"
},
"paint": {
"icon-color": "red"
}
}
]
}