Files
MapLibreParticleLab/metrics/integration/query-tests/line-width/multiple-layers/style.json
2023-03-25 14:46:49 +01:00

55 lines
1.2 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64,
"queryGeometry": [
45,
16
]
}
},
"sources": {
"mapbox": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [
{
"id": 1,
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[ 0, 0],
[ 50, 0]
]
}
}
]
}
}
},
"layers": [
{
"id": "line",
"type": "line",
"source": "mapbox",
"paint": {
"line-width": 5
}
},
{
"id": "line2",
"type": "line",
"source": "mapbox",
"paint": {
"line-color": "white",
"line-width": 50,
"line-opacity": 0.3
}
}
]
}