From 100382a990b8c8091dacb7dff92997e50ea68fa6 Mon Sep 17 00:00:00 2001 From: edmarmoretti Date: Wed, 2 Mar 2016 15:54:54 -0300 Subject: [PATCH] Correção no fechamento da janela de aguarde do markercluster --- pacotes/markercluster/openlayers/AnimatedCluster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pacotes/markercluster/openlayers/AnimatedCluster.js b/pacotes/markercluster/openlayers/AnimatedCluster.js index 6c95beb..af4808e 100755 --- a/pacotes/markercluster/openlayers/AnimatedCluster.js +++ b/pacotes/markercluster/openlayers/AnimatedCluster.js @@ -155,7 +155,7 @@ OpenLayers.Strategy.AnimatedCluster = OpenLayers.Class(OpenLayers.Strategy.Clust if(this.layer && this.layer.map) { var screenBounds = this.layer.map.getExtent(); var featureBounds = feature.geometry.getBounds(); - if(!screenBounds.intersectsBounds(featureBounds)) { + if(!screenBounds || !screenBounds.intersectsBounds(featureBounds)) { continue; } } -- libgit2 0.21.2