[OSM-dev] Addressable maps & updated URL?

Chris Fleming me at chrisfleming.org
Fri Sep 28 13:27:59 BST 2007

David Earl wrote:
> On 28/09/2007 09:34, Francisco R. Santos wrote:
>> 2007/9/28, Tom Hughes <tom at compton.nu <mailto:tom at compton.nu>>:
>>     In message <46FC9B1D.1070406 at skynet.be
>>     <mailto:46FC9B1D.1070406 at skynet.be>>
>>             Christophe Cattelain <xof at skynet.be <mailto:xof at skynet.be>>
>>     wrote:
>>      > However, it is easy to implement, one just has to change '
>>     location.href'
>>      > on a 'moveend' event...
>>      > Something like
>>      >
>>      >
>>     location.href="http://www.openstreetmap.org/#lat=50.72&lon=5.65&zoom=12&layers=B0F
>>     <http://www.openstreetmap.org/#lat=50.72&lon=5.65&zoom=12&layers=B0F>";
>>      >
>>      > Notice the '#' in place of the '?' in the URL; otherwise, the page is
>>      > (automaticaly) reloaded!
>>     I was aware that this was a theoretical possibility, but I had never
>>     seen a site that did it and I wasn't sure how well browsers would cope
>>     with constant updating of the URL bar like that or whether people
>>     would like it. I'm certainly not sure if I would like it.
> It does mean the back button works as per static web pages too, that is 
> as most users not 'in the know' expect.
It would also solve the usability issue with the permalink under view 
not being obvious at all. So it would get my vote as long as it's not 
too intrusive.



More information about the dev mailing list