1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
"version": 8,
"name": "Water",
"sources": {
"mapbox": {
"type": "vector",
"url": "http://127.0.0.1:3000/offline/streets.json"
}
},
"glyphs": "http://127.0.0.1:3000/offline/{fontstack}/{range}.pbf",
"sprite": "http://127.0.0.1:3000/offline/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
}
}]
}
|