BBOX Strategy is active for an inactive vector layer, r=pgiraud (pullup #3383)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12126 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -87,7 +87,7 @@ OpenLayers.Strategy.BBOX = OpenLayers.Class(OpenLayers.Strategy, {
|
||||
"refresh": this.update,
|
||||
scope: this
|
||||
});
|
||||
if(this.layer.visibility == true) {
|
||||
if(this.layer.visibility === true && this.layer.inRange === true) {
|
||||
this.update();
|
||||
} else {
|
||||
this.layer.events.on({
|
||||
|
||||
Reference in New Issue
Block a user