[OpenLayers-Dev] problem in InitResolutions?

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


Sorry for the confusion we had minScale and maxScale swapped around :-)

Best regards,
Bart

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


--------- Oorspronkelijk bericht --------
Van: Bart van den Eijnden OSGIS <bartvde at osgis.nl>
Naar: dev at openlayers.org <dev at openlayers.org>
Onderwerp: [OpenLayers-Dev] problem in InitResolutions?
Datum: 22/02/08 12:34

> 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
> 
> 
> 
> 
> 
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
> 
> 






More information about the Dev mailing list