<div class="gmail_quote">Hi,<br><br>I have a strange behaviour when switching baseLayer in IE. The google layer (the target baselayer) is not really centered : <span style="font-family: courier new,monospace;">map.getPixelFromLonLat(map.</span><span style="font-family: courier new,monospace;">getCenter())</span> returns (0,0)<br>
<br>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 :<br>
<span><span style="font-family: courier new,monospace;">this.baseLayer.moveTo(bounds, zoomChanged, dragging);</span>&nbsp; ( in moveTo()&nbsp; )<br>After resuming, </span><span style="font-family: courier new,monospace;">map.getPixelFromLonLat(map.</span><span style="font-family: courier new,monospace;">getCenter())</span> returns (0,0) <br>
<br>Moreover, a resize of the window updates the map and resolves this problem... <br><br>Regards,<font color="#888888"><br><br>Alexandre.<br>
</font></div><br>