Changeset 7522
- Timestamp:
- 07/16/08 09:26:33 (1 month ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/topp/trimet/lib/OpenLayers/Strategy/BBOX.js
r7518 r7522 74 74 */ 75 75 updateListener: function(event) { 76 var mapBounds = this.layer.map.getExtent(); 77 if(event.force || this.invalidBounds(mapBounds)) { 78 this.calculateBounds(mapBounds); 79 this.triggerRead(event); 76 if(this.layer.inRange && this.layer.visibility) { 77 var mapBounds = this.layer.map.getExtent(); 78 if(event.force || this.invalidBounds(mapBounds)) { 79 this.calculateBounds(mapBounds); 80 this.triggerRead(event); 81 } 80 82 } 81 83 },
