Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Better permalinks in slippy map #77

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments
Closed

Better permalinks in slippy map #77

openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments

Comments

@openstreetmap-trac
Copy link

Reporter: mikel_maron[at]yahoo.com
[Submitted to the original trac issue database at 1.06pm, Saturday, 26th November 2005]

make the permalink function more visible

or

update link on every more (ala ymaps)

@openstreetmap-trac
Copy link
Author

Author: erik[at]tiq.com
[Added to the original trac issue at 1.28pm, Thursday, 8th June 2006]

They do this by using an url like http://openstreetmap.org/viewmap.rb#lat=59.3&lon=17.99, This is pretty cool, I guess it that's why the browser doesn't reload the page?

@openstreetmap-trac
Copy link
Author

Author: erik[at]tiq.com
[Added to the original trac issue at 1.39pm, Thursday, 8th June 2006]

<script type="text/javascript"> function updateurl() { location.href=location.href+"#It worked that's marvelous"; } setTimeout("updateurl()",3000); </script>

Testing update of location bar

This is a test and depending on how fsat you can read you will now be able to see a text in the location bar (url bar).

@openstreetmap-trac
Copy link
Author

Author: dan[at]karran.net
[Added to the original trac issue at 8.02pm, Monday, 13th August 2007]

I tried adding an OpenLayers permalink but it's not using lat/lon. What's been changed on OpenLayers to make this part work?

		map.addControl(new OpenLayers.Control.Permalink());

@openstreetmap-trac
Copy link
Author

Author: dan[at]karran.net
[Added to the original trac issue at 8.03pm, Monday, 13th August 2007]

that should have read "What's been changed on InformationFreeway to make this work?"

@openstreetmap-trac
Copy link
Author

Author: osm[at]bcowan.fastmail.co.uk
[Added to the original trac issue at 6.44pm, Friday, 19th October 2007]

Sort of #566.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant