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 all info_windows #159

Closed
SymbolixAU opened this issue May 8, 2018 · 1 comment
Closed

close all info_windows #159

SymbolixAU opened this issue May 8, 2018 · 1 comment

Comments

@SymbolixAU
Copy link
Collaborator

As per this StackOverflow question

Include an option to close all info_windows when clicking anywhere on the map.

@SymbolixAU
Copy link
Collaborator Author

have added a close_info_window option to add_markers

tram_stops$info <- "Make me dissappear!"
set_key(apiKey)

google_map(data = tram_stops) %>%
  add_markers(
    info_window = "info", 
    close_info_window = T
    )

marker_close

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

No branches or pull requests

0 participants