[OpenLayers-Dev] easing js error

Christopher Schmidt crschmidt at metacarta.com
Mon Feb 11 08:00:07 EST 2008


On Mon, Feb 11, 2008 at 10:43:10AM +0100, Bart van den Eijnden (OSGIS) wrote:
> Hi list,
> 
> using trunk I sometimes run into the following js error:

Presumably this happens anytime you pan the map a small distance, and
presumably you have a custom singlefile build of OpenLayers; If so, the
problem is that OpenLayers.Map does not at the moment declare all of its
dependancies correctly. You need the OpenLayers.Tween class in your
build.

-- Chris

> OpenLayers.Easing has no properties
> panTo(lon=146666.6666666667,lat=453333.3333333333 lon=146666.6666666667
> lat=453333.3333333333)OpenLayers.js (line 508)
> updateMapToRect()OpenLayers.js (line 409)
> baseLayerDraw(click clientX=0, clientY=0)OpenLayers.js (line 403)
> callback("click", [click clientX=0, clientY=0])OpenLayers.js (line 466)
> clearTimer(click clientX=0, clientY=0)OpenLayers.js (line 659)
> bind()OpenLayers.js (line 65)
> [Break on this error] var
> centerPx=this.getViewPortPxFromLonLat(this.getCenter());var
> newCenterPx=cent...
> 
> Best regards,
> Bart
> 
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
> 
> 
> 
> 
> 
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev

-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list