Skip to content

Commit 0d3051f

Browse files
ntzmfrodrigo
authored andcommitted
add minzoom and maxzoom for debug vector layer
1 parent e3643ae commit 0d3051f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

debug/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@
125125
},
126126
"osrm": {
127127
"type": "vector",
128-
"tiles" : ["https://router.project-osrm.org/tile/v1/car/tile({x},{y},{z}).mvt"]
128+
"tiles" : ["https://router.project-osrm.org/tile/v1/car/tile({x},{y},{z}).mvt"],
129+
"minzoom": 12,
130+
"maxzoom": 19
129131
}
130132
},
131133
"glyphs": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",

0 commit comments

Comments
 (0)