diff --git a/viewer/MinedMap.js b/viewer/MinedMap.js index 56011c9..dcd8556 100644 --- a/viewer/MinedMap.js +++ b/viewer/MinedMap.js @@ -9,7 +9,7 @@ var MinedMapLayer = L.GridLayer.extend({ this.options.attribution = 'Generated by MinedMap'; this.options.minZoom = -(mipmaps.length-1 + this.zoomOffset); - this.options.maxNativeZoom = 0; + this.options.maxNativeZoom = -this.zoomOffset; // for https://github.com/Leaflet/Leaflet/issues/137 if (!L.Browser.android) {