Closed doug-friedman closed 7 years ago
Instead of your observe code try this
observeEvent(input$leaf_search_location_found,{
print(input$leaf_search_location_found)
})
Closing with the correct code provided. reopen if this doesn't work.
When I use the
addSearchOSM
function with leaflet (and leaflet.extras) in a Shiny application I cannot find the Shiny input you've bound to the location search results.Here's a simple example where I constantly print the available inputs to the R console. Ideally, I should be able to access
input$leaf_search_location_found
.