Commit 100382a990b8c8091dacb7dff92997e50ea68fa6

Authored by Edmar Moretti
1 parent dd8176de
Exists in master

Correção no fechamento da janela de aguarde do markercluster

pacotes/markercluster/openlayers/AnimatedCluster.js
... ... @@ -155,7 +155,7 @@ OpenLayers.Strategy.AnimatedCluster = OpenLayers.Class(OpenLayers.Strategy.Clust
155 155 if(this.layer && this.layer.map) {
156 156 var screenBounds = this.layer.map.getExtent();
157 157 var featureBounds = feature.geometry.getBounds();
158   - if(!screenBounds.intersectsBounds(featureBounds)) {
  158 + if(!screenBounds || !screenBounds.intersectsBounds(featureBounds)) {
159 159 continue;
160 160 }
161 161 }
... ...