Files
MapLibreParticleLab/test/fixtures/offline_download/style.json
2017-06-01 15:38:01 -07:00

52 lines
1.0 KiB
JSON

{
"version": 8,
"name": "Water",
"sources": {
"mapbox": {
"type": "vector",
"url": "http://127.0.0.1:3000/streets.json"
},
"radar": {
"type": "image",
"url":"http://127.0.0.1:3000/radar.gif",
"coordinates": [
[-180, -85.0511],
[180, -85.0511],
[180, 85.0511],
[-180, 85.0511]
]
}
},
"glyphs": "http://127.0.0.1:3000/{fontstack}/{range}.pbf",
"sprite": "http://127.0.0.1:3000/sprite",
"layers": [{
"id": "background",
"type": "background",
"paint": {
"background-color": "red"
}
}, {
"id": "water",
"type": "fill",
"source": "mapbox",
"source-layer": "water",
"paint": {
"fill-pattern": "noise"
}
}, {
"id": "admin",
"type": "symbol",
"source": "mapbox",
"source-layer": "admin",
"layout": {
"text-font": ["Helvetica"],
"text-field": "Text"
},
"paint": {
"text-color": "black",
"text-halo-color": "white",
"text-halo-width": 2
}
}]
}