allow -2 and -1 zoom
This commit is contained in:
parent
78d09a0c0c
commit
5184206b49
4 changed files with 6 additions and 4 deletions
|
@ -818,6 +818,8 @@ LevelControl = L.Control.extend({
|
|||
|
||||
addLevel: function (id, title) {
|
||||
this._tileLayers[id] = L.tileLayer((c3nav.tile_server || '/map/') + String(id) + '/{z}/{x}/{y}.png', {
|
||||
minZoom: -2,
|
||||
maxZoom: 5,
|
||||
bounds: L.GeoJSON.coordsToLatLngs(c3nav.bounds)
|
||||
});
|
||||
var overlay = L.layerGroup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue