Files
MapLibreParticleLab/metrics/integration/render-tests/fill-pattern/invalid-feature-expression/style.json
Bart Louwers c79b6dcf52 Add end-of-file-fixer pre-commit hook (#3176)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-24 20:43:50 +01:00

134 lines
2.6 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 128,
"height": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
20,
-10
],
[
20,
10
],
[
40,
10
],
[
40,
-10
],
[
20,
-10
]
]
]
},
"properties": {
}
}, {
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-10,
-10
],
[
-10,
10
],
[
10,
10
],
[
10,
-10
],
[
-10,
-10
]
]
]
},
"properties": {
}
}, {
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-40,
-10
],
[
-40,
10
],
[
-20,
10
],
[
-20,
-10
],
[
-40,
-10
]
]
]
},
"properties": {
}
}
]
}
}
},
"sprite": "local://sprites/emerald",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color" : "#fff"
}
},
{
"id": "fill",
"type": "fill",
"source": "geojson",
"paint": {
"fill-antialias": false,
"fill-pattern": ["get", "pattern"]
}
}
]
}