From 4d47f950b7aa14a24ed6196dbf07470541408ca0 Mon Sep 17 00:00:00 2001 From: edmarmoretti Date: Wed, 2 Mar 2016 15:54:38 -0300 Subject: [PATCH] Correção no fechamento da janela de aguarde do markercluster --- admin/admin.db | Bin 335872 -> 0 bytes pacotes/markercluster/openlayers/AnimatedCluster.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/admin.db b/admin/admin.db index 5dcf620..f8cfbfd 100755 Binary files a/admin/admin.db and b/admin/admin.db differ 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