[OpenLayers-Dev] problem in InitResolutions?

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Fri Feb 22 09:34:17 EST 2008


Hi list,

using latest trunk we are getting a problem in InitResolutions when we try
and add a layer with only a minScale and maxScale set.

The error is invalid array length and occurs at the following line:

confProps.resolutions = new Array(confProps.numZoomLevels);

If I look with Firebug numZoomLevels is null on the layer.

Any ideas what could be going wrong?

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl








More information about the Dev mailing list