-
Notifications
You must be signed in to change notification settings - Fork 61
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
Event dispatching from <Marker /> elements #47
Labels
help wanted
Extra attention is needed
Comments
The marker component doesn't have any event handlers registered. It probably needs a PR to add this :) |
Just put
|
After reading the mapbox api documentation I edited Marker.svelte to expose a click event handler but I also suggest this should be changed in Marker.svelte, not with a slotted helper button. See markerel and the on:click on the first div: Marker.svelte
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I can't seem to add eventhandlers for Marker components whereas for the Map component it works just fine. Am I missing something? Simplified pseudocode:
The text was updated successfully, but these errors were encountered: