Skip to content

Commit dcb84d2

Browse files
committed
Merge branch 'style/shadow'
2 parents 9a2eee1 + f35d6cf commit dcb84d2

File tree

3 files changed

+443
-1
lines changed

3 files changed

+443
-1
lines changed

html/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120

121121
<script type="text/javascript">
122122

123-
var styles = ["cyclemap", "xray"];
123+
var styles = ["shadow", "cyclemap", "xray"];
124124

125125
function loadJson(file) {
126126
return new Promise(function (resolve, reject) {

html/shadow-base.json

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"version": 8,
3+
"name": "Mapbox Local",
4+
"metadata": {},
5+
"sources": {
6+
"local": {
7+
"type": "vector",
8+
"minzoom": 8,
9+
"tiles": [
10+
"https://tiles.cyclemap.link/local/{z}/{x}/{y}.mvt"
11+
]
12+
},
13+
"global": {
14+
"minzoom": 3,
15+
"type": "vector",
16+
"tiles": [
17+
"https://tiles.cyclemap.link/global/{z}/{x}/{y}.mvt"
18+
]
19+
},
20+
"mapbox-terrain-rgb": {
21+
"type": "raster-dem",
22+
"tileSize": 256,
23+
"maxzoom": 14,
24+
"encoding": "terrarium",
25+
"tiles": [
26+
"https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png"
27+
]
28+
}
29+
},
30+
"glyphs": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
31+
"layers": []
32+
}

0 commit comments

Comments
 (0)