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

close info_window when another marker is clicked #268

Open
cwilligv opened this issue Jan 22, 2024 · 0 comments
Open

close info_window when another marker is clicked #268

cwilligv opened this issue Jan 22, 2024 · 0 comments

Comments

@cwilligv
Copy link

Hi,

When another marker is clicked, and the infowindow of another marker is open, the other marker's infowindow stays open. I want the behaviour to be for the infowindow to close when another marker is clicked, Is there a way to specify this behaviour in a R/Shiny app?

I checked the parameter 'close_info_window' from the add_markers function but this only works when clicking anywhere in the map.

Thanks!

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

1 participant