[Pkg-javascript-commits] [leaflet-markercluster] 79/219: Update MarkerClusterGroup.js
Jonas Smedegaard
dr at jones.dk
Sat May 7 09:39:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet-markercluster.
commit 59a934408862193806765935ded955b5dcc6b143
Author: olive380 <olive380 at users.noreply.github.com>
Date: Tue Aug 4 16:54:23 2015 +0200
Update MarkerClusterGroup.js
Proposal for solving issue #525
---
src/MarkerClusterGroup.js | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js
index 1f158ee..390be2a 100644
--- a/src/MarkerClusterGroup.js
+++ b/src/MarkerClusterGroup.js
@@ -254,10 +254,6 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
fg = this._featureGroup,
npg = this._nonPointGroup;
- if (this._unspiderfy) {
- this._unspiderfy();
- }
-
if (!this._map) {
for (i = 0, l = layersArray.length; i < l; i++) {
m = layersArray[i];
@@ -275,6 +271,11 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
continue;
}
+ if (this._unspiderfy) {
+ this._unspiderfy();
+ this._unspiderfyLayer(m);
+ }
+
this._removeLayer(m, true, true);
if (fg.hasLayer(m)) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git
More information about the Pkg-javascript-commits
mailing list