On Fri, Jan 16, 2009 at 05:26:16PM +0100, Alexandre Ardhuin wrote: > Hi, > > I have a strange behaviour when switching baseLayer in IE. The google layer > (the target baselayer) is not really centered : map.getPixelFromLonLat(map. > getCenter()) returns (0,0)
Sounds like: http://trac.openlayers.org/ticket/1550 > I can observe the same behaviour in FF (with SpericalMercator example) by > stopping the execution of script during some seconds with a breakpoint (in > Firebug) on Map.js at the line : > this.baseLayer.moveTo(bounds, zoomChanged, dragging); ( in moveTo() ) > After resuming, map.getPixelFromLonLat(map.getCenter()) returns (0,0) > > Moreover, a resize of the window updates the map and resolves this > problem... > > Regards, > > Alexandre. > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
