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
{{ message }}
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
I am currently looking into this, but have a functional question:
Given the maxBounds are outside the current view, should the rotated view always be fully contained within these bounds (except when zooming out past the maxBounds)? Because that would mean that when rotated, the corners of the maxBounds are not viewable. But maybe that's what you get when using maxBounds.
Another way to do it would be to limit the center of the view to be within the maxBounds. That would mean that corners are fully viewable, but half the view area could be outside of the maxBounds.
Or maybe some mix-solution of the two is possible, where the view is generally restricted by the maxBounds, but still somehow allows corners to be viewable...?
Opinions?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Originally reported by @hyperknot:
https://github.com/hyperknot/Leaflet/issues/5
maxBoundsViscosity: 1
+
setMaxBounds
+
setBearing
+
pan anywhere on low zoom
=> funny dancing movement
The text was updated successfully, but these errors were encountered: