Skip to content

Mouse Events on Vector Overlays don't propagate to mapΒ #834

Closed
@mlevans

Description

Hi,

I have some vector overlays on a Leaflet map and have had trouble getting mouse events to propagate to the map; I just want to drag the map when I'm over a vector layer.

I ended up commenting out the following line: https://github.com/CloudMade/Leaflet/blob/master/dist/leaflet-src.js#L3734, which fixed the problem. I'm just not sure if it's a reasonable solution (or the possible ramifications of commenting out this line). Have you seen this problem before? Does this seem like an acceptable solution?

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

blockerCritical issue or PR that must be resolved before the next release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions