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

Eugene Alvin Villar notifications at github.com
Thu Aug 1 00:26:27 UTC 2013


Regardless of whether or not you use the global history feature of your browser, I think we can agree that making the browser consume more disk space just to store not-so-useful history entries is not ideal, right? (Yeah, disk space is cheap, but still...)

To look at the issue in another way, having the URL update on every pan and zoom change is like updating the URL every time you scroll a web page even just a little bit. In most web applications, they update the URL when there is an arguably new "page" that is shown, like in Gmail, but not when you just navigate around the current content.

Anyway, to add more data for discussion, among the other major mapping websites, Classic Google Maps, Bing Maps, and MapQuest do not use persistent URLs. The New Google Maps and Nokia's Here website do use persistent URLs.

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


More information about the rails-dev mailing list