Allow zooming in to level 3

This commit is contained in:
Matthias Schiffer 2015-02-02 14:18:04 +01:00
parent db5dbe26d8
commit 410106b798

View file

@ -74,7 +74,7 @@ window.createMap = function () {
center: [0, 0], center: [0, 0],
zoom: 0, zoom: 0,
minZoom: 0, minZoom: 0,
maxZoom: 1, maxZoom: 3,
crs: L.CRS.Simple, crs: L.CRS.Simple,
maxBounds: [ maxBounds: [
[-512*(info.info.maxZ+1), 512*info.info.minX], [-512*(info.info.maxZ+1), 512*info.info.minX],