Skip to content

Instantly share code, notes, and snippets.

@j-jayes
Created November 6, 2021 19:31
Show Gist options
  • Select an option

  • Save j-jayes/8294d28b3adbfceda4734440ce25fef5 to your computer and use it in GitHub Desktop.

Select an option

Save j-jayes/8294d28b3adbfceda4734440ce25fef5 to your computer and use it in GitHub Desktop.
Leaflet R click inputs
output$click_test <- renderPrint({reactiveValuesToList(input)})
# https://stackoverflow.com/questions/49885751/list-input-handlers-for-a-package-shiny-leaflet/49886501
# Super useful page on how to get the output of the clicks and hovers in leaflet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment