Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add drag events to Symbol #464

Open
pamtbaau opened this issue Jun 11, 2024 · 0 comments
Open

Add drag events to Symbol #464

pamtbaau opened this issue Jun 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pamtbaau
Copy link

Feature Description

Symbols can be marked as draggable and can be dragged around in the Map.

However, there is no option to add a callback to catch the dragging. I would love to see events like for example dragStart and dragEnd.

Describe alternatives you've considered

I've tried to add Features instead of Symbols, because there is a MapLibreMapController.onFeatureDrag.add(), but unfortunately, Features appear not to be draggable in the Map and the drag callback is never being called.

Additional context

No response

@pamtbaau pamtbaau added the enhancement New feature or request label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant