Files
MapLibreParticleLab/metrics/integration/query-tests/fill-extrusion/sort-concave-outer/style.json
2023-03-25 14:46:49 +01:00

126 lines
2.7 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"debug": true,
"width": 200,
"height": 400,
"queryGeometry": [
106,
131
]
}
},
"pitch": 60,
"center": [
0,
0
],
"zoom": 0,
"sources": {
"zones": {
"type": "geojson",
"maxzoom": 1,
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"outside": true
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
89.296875,
73.82482034613932
],
[
-71.015625,
69.65708627301174
],
[
-73.125,
-15.28418511407642
],
[
15.468749999999998,
-17.308687886770024
],
[
16.171875,
11.178401873711785
],
[
-54.140625,
11.867350911459308
],
[
-52.03125,
50.28933925329178
],
[
92.10937499999999,
49.38237278700955
],
[
89.296875,
73.82482034613932
]
]
]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"properties": {
"inside": true
},
"coordinates": [
[
[
-20.390625,
25.16517336866393
],
[
52.03125,
25.16517336866393
],
[
52.03125,
39.90973623453719
],
[
-20.390625,
39.90973623453719
],
[
-20.390625,
25.16517336866393
]
]
]
}
}
]
}
}
},
"layers": [
{
"id": "zones",
"type": "fill-extrusion",
"source": "zones",
"paint": {
"fill-extrusion-color": "#ccc",
"fill-extrusion-height": 10000000
}
}
]
}