[OpenLayers-Dev] minZoomLevel and WFS

Diez, Matthew Matthew.Diez at iem.com
Thu Jun 11 09:09:27 EDT 2009


Looking through the Layer.WFS source, i saw:

 //DEPRECATED - REMOVE IN 3.0
         // don't load data if current zoom level doesn't match
-        if (this.options.minZoomLevel && 
-            (this.map.getZoom() < this.options.minZoomLevel) ) {
-            return null;
-        };

So, if minZoomLevel is going away, why? And what is the preferred strategy for dealing with not loading WFS layers at certain zoomLevels/scaleDenominators?

-Matthew D. Diez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20090611/0edf01e4/attachment.html


More information about the Dev mailing list