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

66 lines
1.0 KiB
JSON

{
"version": 8,
"zoom": 1,
"metadata": {
"test": {
"width": 64,
"height": 64,
"operations": [
[
"addImage",
"marker",
"./image/marker.png"
],
[
"addLayer",
{
"id": "fill",
"type": "fill",
"source": "geojson",
"paint": {
"fill-antialias": false,
"fill-pattern": "marker"
}
}
],
[
"wait"
]
]
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Polygon",
"coordinates": [
[
[
-10,
-10
],
[
-10,
10
],
[
10,
10
],
[
10,
-10
],
[
-10,
-10
]
]
]
}
}
},
"layers": []
}