54 lines
760 B
JSON
54 lines
760 B
JSON
{
|
|
"version": 8,
|
|
"metadata": {
|
|
"test": {
|
|
"width": 64,
|
|
"height": 64
|
|
}
|
|
},
|
|
"zoom": 0.5,
|
|
"sources": {
|
|
"geojson": {
|
|
"type": "geojson",
|
|
"data": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[
|
|
-10,
|
|
0
|
|
],
|
|
[
|
|
10,
|
|
0
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"layers": [
|
|
{
|
|
"id": "line",
|
|
"type": "line",
|
|
"source": "geojson",
|
|
"paint": {
|
|
"line-width": {
|
|
"stops": [
|
|
[
|
|
0,
|
|
1
|
|
],
|
|
[
|
|
1,
|
|
10
|
|
]
|
|
]
|
|
},
|
|
"line-dasharray": [
|
|
1,
|
|
1
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|