Luis, How about minScale or minResolution properties of the Layer object ? Here's an example using these properties, but the lines are commented and they are used in the map object. Try one in one of your layer objects.
http://www.openlayers.org/dev/examples/zoomLevels.html Regards, Alexandre Luís de Sousa wrote: > Hello everyone, > > I've been using the MinZoomLevel option on WFS layers to set the > minimum resolution beyond which a layer can be rendered (useful for > when there are lots of features). > > Today I'm trying to the same with a WMS layer, but in that case the > MinZoomLevel option is ignored. Should it be working? If not how can i > be done for WMS layers? > > I'm using OpenLayers 2.9. Thank you, > > Luís > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > -- Alexandre Dubé Mapgears www.mapgears.com _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users