Files
MapLibreParticleLab/metrics/integration/render-tests/runtime-styling/pattern-add-remove-add/style.json
2023-03-25 14:46:49 +01:00

53 lines
912 B
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64,
"operations": [
[
"addImage",
"marker",
"./sprites/dark.png"
],
[
"addLayer",
{
"id": "geometry",
"type": "fill",
"source": "geometry",
"paint": {
"fill-pattern": "marker"
}
}
],
[
"wait"
],
[
"removeImage",
"marker"
],
[
"addImage",
"marker",
"./sprites/1x.png"
],
[
"wait"
]
]
}
},
"sources": {
"geometry": {
"type": "geojson",
"data": {
"type": "Polygon",
"coordinates": [[[-180, 80], [180, 80], [180, -80], [-180, -80]]]
}
}
},
"layers": []
}