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

62 lines
921 B
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Polygon",
"coordinates": [
[
[
-10,
-10
],
[
-10,
10
],
[
10,
10
],
[
10,
-10
],
[
-10,
-10
]
]
]
}
}
},
"layers": [
{
"id": "fill",
"type": "fill",
"source": "geojson",
"paint": {
"fill-opacity": {
"stops": [
[
0,
0.5
],
[
1,
0.6
]
]
}
}
}
]
}