[openstreetmap-website] Refine zooming and panning for note and data layers (#646)
notifications at github.com
Mon Dec 9 18:44:41 UTC 2013
Resolves #629 #643, improves #644.
Only centers and/or zooms when clicking a note or data on a new page load (such as directly visiting /note/xx) or if the data doesn't completely fit inside the map view. Otherwise the map view doesn't move and the item is simply highlighted.
You can merge this Pull Request by running:
git pull https://github.com/aaronlidman/openstreetmap-website master
Or you can view, comment on it, or merge it online at:
-- Commit Summary --
* Refine zooming and panning for note and data layers
-- File Changes --
-- Patch Links --
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev