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 <[EMAIL PROTECTED]> Naar: [email protected] <[email protected]> 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 > [email protected] > http://openlayers.org/mailman/listinfo/dev > > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
