OK. Thank you, that works. One thing I noticed though -- the url shows "&lat=...&lon=..." where ... is in map units not latitude and longitude.
----- Original Message ----- From: "Christopher Schmidt" <[EMAIL PROTECTED]> To: "mcarsel" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Saturday, October 20, 2007 11:46 AM Subject: Re: [OpenLayers-Users] Permalink won't work with sp merc > On Sat, Oct 20, 2007 at 10:32:36AM -0700, mcarsel wrote: >> It looks like Permalink won't work when the map is not in lat/lon. I'm >> using >> spherical mercator. There are lat and lon parameters in the url. > > It does -- I've just tested. > > Setting up the permalink requires ensuring that you don't call setCenter > every time the page loads -- if you have a setCenter or zoomToMaxExtent > in your init() without checking if (!map.getCenter()), then you won't > see the permalink work. > >> Another issue is the mouseposition control. I would like to see an >> option >> for lat/lon display for the mouse position even though the map may be in >> another projection. > > http://trac.openlayers.org/ticket/1036 > > Regards, > -- > Christopher Schmidt > MetaCarta > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
