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

How can i create a function when clicked the location? #194

Open
mochrinaldy31 opened this issue Oct 18, 2019 · 1 comment
Open

How can i create a function when clicked the location? #194

mochrinaldy31 opened this issue Oct 18, 2019 · 1 comment

Comments

@mochrinaldy31
Copy link

Hi i'm new about this and i want to click on the marker and trigger a function. the function will show a prepared div below the map to show details.
Can i do that with this?

Thank you.

@Carlo-F
Copy link

Carlo-F commented Apr 6, 2020

Hi, there are two different events very useful for this purpose:

  • beforeShow: Fires before showing the current triggered location
  • afterShow: Fires after showing the current triggered location

Check the documentation (Events section) for further info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants