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

Vishwa rnvishwa at gmail.com
Thu Jun 5 07:34:37 EDT 2008


Sorry, although i have set settings to receive my own posts, I never
received the my posts and hence I assumed that it might not have been
delivered.

- Vishwa

On Thu, Jun 5, 2008 at 4:48 PM, Christopher Schmidt <crschmidt at metacarta.com>
wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080605/6ce32d85/attachment.html


More information about the Users mailing list