Files
MapLibreParticleLab/metrics/integration/render-tests/line-triangulation/default/style.json
2023-03-25 14:46:49 +01:00

203 lines
4.8 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512
}
},
"center": [
-122.4393,
37.706
],
"zoom": 14,
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"id": 6730066,
"interval": 2
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-122.437225,
37.706797
],
[
-122.442106,
37.704101
],
[
-122.434055,
37.704745
],
[
-122.432285,
37.704409
],
[
-122.428845,
37.704965
],
[
-122.428391,
37.706397
],
[
-122.431341,
37.708231
],
[
-122.433382,
37.708232
],
[
-122.433982,
37.708132
],
[
-122.435382,
37.708132
],
[
-122.440781,
37.708304
],
[
-122.442079,
37.708231
],
[
-122.441605,
37.707348
],
[
-122.441575,
37.707264
],
[
-122.440376,
37.706495
],
[
-122.440498,
37.707529
],
[
-122.437225,
37.706797
]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"id": 6730069,
"interval": 1
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-122.449238,
37.703158
],
[
-122.450546,
37.70245
],
[
-122.448257,
37.7032
],
[
-122.446617,
37.702705
],
[
-122.445848,
37.702302
],
[
-122.442218,
37.701728
],
[
-122.442106,
37.704101
],
[
-122.437225,
37.706797
],
[
-122.440498,
37.707529
],
[
-122.440376,
37.706495
],
[
-122.441575,
37.707264
],
[
-122.441661,
37.707239
],
[
-122.448078,
37.705053
],
[
-122.449959,
37.70441
],
[
-122.449238,
37.703158
]
]
]
]
}
}
]
}
}
},
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "#FFF"
}
},
{
"id": "line",
"type": "line",
"source": "geojson",
"paint": {
"line-color": "#EC8D8D",
"line-opacity": 1,
"line-width": 8
}
}
]
}