Skip to content

Conversation

danzel
Copy link
Member

@danzel danzel commented Feb 8, 2013

if it is already set. Allows markers to be in multiple FeatureGroups and have the events come through correctly. See the test for details.

Fixes Leaflet/Leaflet.markercluster#128

The old behaviour was broken in this case (e.layer would become a FeatureGroup). I can't think of any case the new behaviour would be undesirable, but maybe you can mourner?
Thanks :)

…r if it is already set. Allows markers to be in multiple FeatureGroups and have the events come through correctly. See the test for details.

Fixes Leaflet.markercluster#128 ( Leaflet/Leaflet.markercluster#128 )
@mourner
Copy link
Member

mourner commented Feb 8, 2013

Agree with the new behavior, merging — thanks Dave!

mourner added a commit that referenced this pull request Feb 8, 2013
Change _propagateEvent to be careful that it doesn't overwrite e.layer
@mourner mourner merged commit 4249921 into Leaflet:master Feb 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mouseover event
2 participants