You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We load a map of a building using leaflet. However when we use minimap it is hard to calculate the zoom level. Default viewport has large white space around the map view port, which is entirely covered by aimingRect. i.e around aimingRect there is large whitespace.
We use deepzoom layer as tileLayer to be added to MiniMap.
Any idea how to calculate the zoom level, so that default view port fills up control without large white space
is there away to set scrollWheelZoom to false, so that we can disable zooming.
The text was updated successfully, but these errors were encountered:
patolax
changed the title
Cannot read property 'lng' of null
Fit the zoom to map size on minmap
Apr 30, 2018
patolax
changed the title
Fit the zoom to map size on minmap
Fit the zoom to map size on minimap
Apr 30, 2018
Hi, sorry about being so late to answer. I have no experience with deepzoom layer, but I guess it's probably related to CRSes being different, like with #132 .
Like it says in the readme, there is an option to set zoomLevelFixed to whatever zoom you want, which will disable zooming.
We load a map of a building using leaflet. However when we use minimap it is hard to calculate the zoom level. Default viewport has large white space around the map view port, which is entirely covered by aimingRect. i.e around aimingRect there is large whitespace.
We use deepzoom layer as tileLayer to be added to MiniMap.
The text was updated successfully, but these errors were encountered: