Ticket #685: wfs.inrange.patch
| File wfs.inrange.patch, 0.7 kB (added by crschmidt, 1 year ago) |
|---|
-
lib/OpenLayers/Layer/WFS.js
old new 194 194 var outOfBounds = (!firstRendering && 195 195 !this.tile.bounds.containsBounds(bounds)); 196 196 197 if ( zoomChanged || firstRendering || (!dragging && outOfBounds) ) { 197 if ( (zoomChanged || firstRendering || (!dragging && outOfBounds)) 198 && this.inRange) { 198 199 //determine new tile bounds 199 200 var center = bounds.getCenterLonLat(); 200 201 var tileWidth = bounds.getWidth() * this.ratio;
