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

98 lines
1.8 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"height": 128,
"width": 64
}
},
"zoom": 11.7,
"sources": {
"a": {
"type": "geojson",
"maxzoom": 10,
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"class": "street"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
10,
-0.01
],
[
-10,
-0.01
]
]
}
},
{
"type": "Feature",
"properties": {
"class": "path"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
-10,
0
],
[
10,
0
]
]
}
},
{
"type": "Feature",
"properties": {
"class": "street"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
-10,
0.01
],
[
10,
0.01
]
]
}
}
]
}
}
},
"sprite": "local://sprites/emerald",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "road",
"type": "line",
"source": "a",
"paint": {
"line-width": 20,
"line-pattern": "generic_icon"
}
}
]
}