[OpenLayers-Users] Permalink
Christopher Schmidt
crschmidt at metacarta.com
Wed Nov 7 07:30:52 EST 2007
On Tue, Nov 06, 2007 at 10:39:14PM -0800, Prasad Choudhary wrote:
>
> Hi,
>
> I wonder when Permalink is able to set zoom level and center lon/lat, tough
> we add setCenter after adding the control,
> or in other words how come we get center and zoom level in some custom
> control after map is loaded.
The Permalink requires you to do this:
if (!map.getCenter()) map.zoomToMaxExtent()
In order to work.
(In other words, it can't.)
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list