Files
MapLibreParticleLab/metrics/integration/render-tests/debug/padding/ease-to-left-distort/style.json
2023-03-25 14:46:49 +01:00

113 lines
2.2 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"showPadding": true,
"height": 256,
"operations": [
[
"easeTo",
{
"padding": {
"top": 20,
"left": 250,
"bottom": 10,
"right": 15
}
}
],
[
"wait",
500
]
]
}
},
"center": [ 0, 0 ],
"zoom": 8,
"pitch": 60,
"sources": {
"northward-road": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[ 0, -25],
[ 0, 25]
]
}
},{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[ -0.2, -25],
[ -0.2, 25]
]
}
},{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[ 0.2, -25],
[ 0.2, 25]
]
}
},{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[ -25, 0.2],
[ 25, 0.2]
]
}
},{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[ -25, -0.2],
[ 25, -0.2]
]
}
},{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[ -25, 0],
[ 25, 0]
]
}
}
]
}
}
},
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "line",
"type": "line",
"source": "northward-road",
"layout": {},
"paint": {
"line-width": 10
}
}
]
}