Ticket #672: minZoomLevel.patch
| File minZoomLevel.patch, 0.5 kB (added by euzuro, 1 year ago) |
|---|
-
lib/OpenLayers/Layer/WFS.js
old new 163 163 } 164 164 } 165 165 166 // don't load data if current zoom level doesn't match167 if (this.options.minZoomLevel &&168 (this.map.getZoom() < this.options.minZoomLevel) ) {169 return null;170 };171 172 166 if (bounds == null) { 173 167 bounds = this.map.getExtent(); 174 168 }
