[Pkg-javascript-commits] [leaflet-markercluster] 371/479: Another noHas hack, fixes spiderfy in IE

Jonas Smedegaard dr at jones.dk
Thu Oct 16 16:00:58 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet-markercluster.

commit 9f0819706ec56bbfea08e863b399ff8d3e9b4f1e
Author: danzel <danzel at localhost.geek.nz>
Date:   Wed Jun 19 10:15:58 2013 +1200

    Another noHas hack, fixes spiderfy in IE
---
 src/MarkerCluster.Spiderfier.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/MarkerCluster.Spiderfier.js b/src/MarkerCluster.Spiderfier.js
index 7005192..f27a884 100644
--- a/src/MarkerCluster.Spiderfier.js
+++ b/src/MarkerCluster.Spiderfier.js
@@ -126,7 +126,9 @@ L.MarkerCluster.include(!L.DomUtil.TRANSITION ? {
 			m.setLatLng(newPos);
 			m.setZIndexOffset(1000000); //Make these appear on top of EVERYTHING
 
+			m._noHas = true;
 			L.FeatureGroup.prototype.addLayer.call(group, m);
+			delete m._noHas;
 
 
 			leg = new L.Polyline([this._latlng, newPos], { weight: 1.5, color: '#222' });

-- 
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