Commit 4d47f950b7aa14a24ed6196dbf07470541408ca0
1 parent
e558bdd8
Exists in
master
and in
7 other branches
Correção no fechamento da janela de aguarde do markercluster
Showing
2 changed files
with
1 additions
and
1 deletions
Show diff stats
admin/admin.db
No preview for this file type
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 | } | ... | ... |