On Tue, Mar 25, 2008 at 09:21:21AM +0100, Gérald Quintana wrote: > Hello, > > I push the map extent bounds (map.getExtent()) to server with Ajax request. > Later I restore it (map.zoomToExtent(...)), but I don't the one > stored: the map is properly centered but the zoom level is one step > lower than expected (I have to push '+'). > > How can I correct this?
Don't save the extent: It's susceptible to rounding errors. Save center + zoom instead. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
