Skip to content

Conversation

snkashis
Copy link
Member

Take a look at my two tests to see the difference...You will see how in "_broken", the map is getting logged, as noted in issue discussion.

In the unbroken one, m.layer now refers to the proper clicked reference, not the map.I figured I would I try to follow the SVG's version as closely, and that seemed to help.

References #1215

@mourner
Copy link
Member

mourner commented Dec 27, 2012

Awesome, thanks!

mourner added a commit that referenced this pull request Dec 27, 2012
Handling clicks on paths with L_PREFER_CANVAS, #1215
@mourner mourner merged commit 7163d30 into Leaflet:master Dec 27, 2012
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.

2 participants