mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-04 17:23:33 +01:00
parent
6a160142ed
commit
e5a15beddb
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ var MinedMapLayer = L.GridLayer.extend({
|
||||||
this.options.attribution = 'Generated by <a href="https://github.com/NeoRaider/MinedMap">MinedMap</a>';
|
this.options.attribution = 'Generated by <a href="https://github.com/NeoRaider/MinedMap">MinedMap</a>';
|
||||||
|
|
||||||
this.options.minZoom = -(mipmaps.length-1 + this.zoomOffset);
|
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
|
// for https://github.com/Leaflet/Leaflet/issues/137
|
||||||
if (!L.Browser.android) {
|
if (!L.Browser.android) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue