Nothing
library(leaflet.extras)
library(shiny)
ui <- leafletOutput("leafmap")
server <- function(input, output, session) {
output$leafmap <- renderLeaflet({
leaflet() %>%
addProviderTiles(providers$CartoDB.Positron) %>%
addSearchOSM(
options = searchOSMOptions(
position = "topleft"))
})
observeEvent(input$leafmap_search_location_found, {
print("Location Found")
print(input$leafmap_search_location_found)
})
}
shinyApp(ui, server)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.