Skip to content

Marker click event stops firing if the marker is ever moved by dragging #434

@mehmeta

Description

@mehmeta

In src/layer/marker/Marker.js line 134:


As stated in the title, if you create a marker, add a click handler, enable dragging. drag the marker and disable dragging, you're effectively preventing the marker 'click' event from ever firing again. Genuinely curious, why is this necessary? The workaround is setting _moved to false:

but it's obviously hackish.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions