[openstreetmap/openstreetmap-website] Don't let users get too close to the poles (#2147)
notifications at github.com
Tue Feb 19 10:23:20 UTC 2019
So it is possible to do this in leaflet by setting `maxBounds` on the map, but there's no way to do it only in the vertical direction so it also stops you scrolling past the dateline in either direction.
The other option would be to add our `moveend` handler to enforce it in only one direction, which is basically has `maxBounds` works internally.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev