Skip to content

Mouse events on markers only return the marker's single latlng pointΒ #3607

Closed
@skalb

Description

We use DivIcon markers to display text on our maps, but it looks like https://github.com/Leaflet/Leaflet/pull/3032/files changed marker events to always fire with the marker's single LatLng ignoring the mouse event information.

Not sure if this is a bug, or our use case is just not handled.

Hopefully this simplified fiddle explains better: http://jsfiddle.net/skalb/3sc6nk6b/1/

Activity

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

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions