Another noHas hack, fixes spiderfy in IE

This commit is contained in:
danzel
2013-06-19 10:15:58 +12:00
parent 8210331fc9
commit 9f0819706e
+2
View File
@@ -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' });