[openstreetmap-website] In certain situations, closing the pane with information about an element moves the center of map to a different position (#729)

John Firebaugh notifications at github.com
Thu May 28 16:53:03 UTC 2015

The way it's intended to work is that the map never _visually_ changes position when sidebars open or close -- i.e. the visual appearance is the same as if the sidebars were "covering up" portions of the map. But since what's actually happening is that the width of the map container is changing, accomplishing this means that the center of the map (in Leaflet terms) _does_ have to change. In other words: visually speaking the map is staying put, but programmatically speaking it's moving.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150528/c0be5e9f/attachment.html>

More information about the rails-dev mailing list