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

113 lines
2.2 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"allowed": 0.0005,
"height": 256
}
},
"sources": {
"geojson": {
"type": "geojson",
"buffer": 0,
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"property": 20
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-0.0004,
0
],
[
-0.0002,
0.0002
],
[
0,
0
],
[
-0.0002,
-0.0002
],
[
-0.0004,
0
]
]
]
}
},
{
"type": "Feature",
"properties": {
"property": 20
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
0,
-0.0002
],
[
0,
0.0002
],
[
0.0003,
0.0002
],
[
0.0003,
-0.0002
],
[
0,
-0.0002
]
]
]
}
}
]
}
}
},
"sprite": "local://sprites/emerald",
"pitch": 60,
"zoom": 19,
"layers": [
{
"id": "extrusion",
"type": "fill-extrusion",
"source": "geojson",
"paint": {
"fill-extrusion-pattern": {
"stops": [
[
18,
"generic_icon"
],
[
19,
"generic_metro"
]
],
"type": "interval"
},
"fill-extrusion-height": 10
}
}
]
}