Hi,<br><br>While using the openlayers map with yahoo base layer, if you
pan (move around) across the map after a while you get a JavaScript
error. This happens only in Internet Explorer (6 and 7). This also occurs with the yahoo base layer example on the openlayers website: <a href="http://www.openlayers.org/dev/examples/yahoo.html">http://www.openlayers.org/dev/examples/yahoo.html</a><br>
<br><b>The error reads</b>: &quot;Invalid Argument&quot;<br>
<b>Line number</b>: 579 in OpenLayers.js<br><br><i><b>After enabling script debugging, the browser pointed at this line:</b></i><br>this.dragging=!!dragging;}<div id="1fgj" class="ArwC7c ckChnd">,centerLayerContainer:function(lonlat){var originPx=this.getViewPortPxFromLonLat(this.layerContainerOrigin);var newPx=this.getViewPortPxFromLonLat(lonlat);if((originPx!=null)&amp;&amp;(newPx!=null)){this.layerContainerDiv.style.left=Math.round(originPx.x-newPx.x)+&quot;px&quot;;this.layerContainerDiv.style.top=Math.round(originPx.y-newPx.y)+&quot;px&quot;;}},isValidZoomLevel:function(zoomLevel){return((zoomLevel!=null)&amp;&amp;(zoomLevel&gt;=0)&amp;&amp;(zoomLevel<br>

<br>Anyone knows why this is happening and how to get around the problem?<br><br>Regards,<br><font color="#888888">Vishwa</font></div>