[OpenLayers-Users] [OpenLayers-Dev] Javascript error with Yahoo layer on IE

Christopher Schmidt crschmidt at metacarta.com
Thu Jun 5 07:18:01 EDT 2008


On Thu, Jun 05, 2008 at 12:53:20PM +0530, Vishwa wrote:
> Hi,
> 
> 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:
> http://www.openlayers.org/dev/examples/yahoo.html

You have now sent the same email three times. If no one answered the
first two times, there is a relatively limited likelihood that anyone is
going to answer this time. You'll need to attempt to work out why this
is a problem on your own.

Please don't send this email again.

-- Chris


> *The error reads*: "Invalid Argument"
> *Line number*: 579 in OpenLayers.js
> 
> *After enabling script debugging, the browser pointed at this line:*
> this.dragging=!!dragging;},centerLayerContainer:function(lonlat){var
> originPx=this.getViewPortPxFromLonLat(this.layerContainerOrigin);var
> newPx=this.getViewPortPxFromLonLat(lonlat);if((originPx!=null)&&(newPx!=null)){this.layerContainerDiv.style.left=Math.round(originPx.x-newPx.x)+"px";this.layerContainerDiv.style.top=Math.round(originPx.y-newPx.y)+"px";}},isValidZoomLevel:function(zoomLevel){return((zoomLevel!=null)&&(zoomLevel>=0)&&(zoomLevel
> 
> Anyone knows why this is happening and how to get around the problem?
> 
> Regards,
> Vishwa

> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev


-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list