83 lines
1.5 KiB
JSON
83 lines
1.5 KiB
JSON
{
|
|
"version": 8,
|
|
"metadata": {
|
|
"test": {
|
|
"showPadding": true,
|
|
"height": 256,
|
|
"operations": [
|
|
[
|
|
"setPadding",
|
|
{
|
|
"top": 20,
|
|
"left": 125,
|
|
"bottom": 10,
|
|
"right": 15
|
|
}
|
|
],
|
|
[
|
|
"wait"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"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]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"layers": [
|
|
{
|
|
"id": "background",
|
|
"type": "background",
|
|
"paint": {
|
|
"background-color": "white"
|
|
}
|
|
},
|
|
{
|
|
"id": "line",
|
|
"type": "line",
|
|
"source": "northward-road",
|
|
"layout": {},
|
|
"paint": {
|
|
"line-width": 10
|
|
}
|
|
}
|
|
]
|
|
}
|