Strategy.Fixed should listen to refresh event, (Closes #1939), r=tschaub

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9164 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2009-04-01 16:20:23 +00:00
parent 5b61fdafd1
commit 339f5bf8f6
3 changed files with 51 additions and 6 deletions

View File

@@ -299,7 +299,7 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, {
* the refresh event.
*/
refresh: function(obj) {
if(this.inRange && this.visibility) {
if(this.calculateInRange() && this.visibility) {
this.events.triggerEvent("refresh", obj);
}
},