-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
Copy pathstyle.json
70 lines (70 loc) · 1.32 KB
/
style.json
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"version": 8,
"metadata": {
"description": "Verifies there is no assert mapbox-gl-js-internal#134",
"test": {
"height": 256,
"allowed": 0.0003,
"operations": [
["wait"]
]
}
},
"sources": {
"rgbterrain": {
"type": "raster-dem",
"tiles": [
"local://tiles/{z}-{x}-{y}-terrain-512.png"
],
"maxzoom": 14,
"tileSize": 512
},
"mapbox": {
"type": "vector",
"maxzoom": 16,
"tiles": [
"local://tiles/{z}-{x}-{y}.mvt"
]
}
},
"terrain": {
"source": "rgbterrain"
},
"pitch": 65,
"zoom": 17.5,
"center": [
-122.464761,
37.753219
],
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "green"
}
},
{
"id": "road",
"type": "line",
"source": "mapbox",
"source-layer": "road",
"paint": {
"line-color": "#888",
"line-width": 10
}
},
{
"id": "extrusion",
"type": "fill-extrusion",
"source": "mapbox",
"source-layer": "building",
"filter": ["==", "extrude", "true"],
"paint": {
"fill-extrusion-color": "gray",
"fill-extrusion-opacity": 0.5,
"fill-extrusion-height": ["get", "height"]
}
}
]
}