mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-04 17:23:33 +01:00
viewer: allow zooming to level 5
Allow zooming in far enough so neighboring signs don't overlap.
This commit is contained in:
parent
7834315dd3
commit
43d7dc751e
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ window.createMap = function () {
|
|||
center: [-z, x],
|
||||
zoom: zoom,
|
||||
minZoom: -(mipmaps.length-1),
|
||||
maxZoom: 3,
|
||||
maxZoom: 5,
|
||||
crs: L.CRS.Simple,
|
||||
maxBounds: [
|
||||
[-512*(mipmaps[0].bounds.maxZ+1), 512*mipmaps[0].bounds.minX],
|
||||
|
|
Loading…
Add table
Reference in a new issue