[OpenLayers-Users] Automatic links the Yahoo way

Jochen Topf jochen at remote.org
Wed Sep 12 08:47:30 EDT 2007


On Tue, Sep 11, 2007 at 06:07:43PM -0700, mcarsel wrote:
> Has anyone implemented a way to automatically update the url in openlayers
> every time a user zooms or pans similar to the way Yahoo does it? 
> Sample here: 
> http://maps.yahoo.com/beta/#mvt=m&trf=0&lon=-94.350586&lat=38.169114&mag=14
> http://maps.yahoo.com/beta/#mvt=m&trf=0&lon=-94.350586&lat=38.169114&mag=14  
> 
> I saw a ticket about 4 months ago (#723) that proposed this as a new feature
> in openlayers, but didn't see anything come of it.
> 
> Permalinks are somewhat useful, but automatic url update like the way Yahoo
> does it would be much better.  

Cool idea. I don't think it should be part of OpenLayers itself, though.
It can easly be done outside the core. I have implemented it quickly at
http://geo.topf.org/map/indexhash.html and it seems to work. Look at the
source to see how it is done.

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298




More information about the Users mailing list