[openstreetmap-website] Use a hash anchor for location/zoom persistence (#378)

John Firebaugh notifications at github.com
Wed Jul 24 04:27:29 UTC 2013


Yes, we'll be losing that ability on sites that use lon, lat, and zoom query parameters. On the other hand, we'll be gaining the ability on sites that use zoom/lat/lon hash parameters (i.e. any that use leaflet-hash). And on the third hand, it will be easier to write a bookmarklet that auto-opens other sites at the current location, because it's easily determined from `location.hash` (whereas before you would have to delve into JS or DOM internals with no guarantee of stability).

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/378#issuecomment-21463066
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130723/dd40fc9f/attachment.html>


More information about the rails-dev mailing list