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 _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
