[OpenLayers-Users] permalink doesnt work
Christopher Schmidt
crschmidt at metacarta.com
Mon Oct 15 14:49:36 EDT 2007
On Mon, Oct 15, 2007 at 07:56:20PM +0200, karpi wrote:
>
> Hello all there.
> Does anyone know why permalink does not work on this map ?
> http://gismaster.liberix.cz/~karpi/kralupy/openlayers.html
You call setCenter always. You can't do that. Instead, do:
if (!map.getCenter()) { map.setCenter() }
REgards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list