Remove the map

delete_map(proxy)

Arguments

proxy

a proxy as returned by datamapsProxy.

Examples

# NOT RUN {
library(shiny)

ui <- fluidPage(
  actionButton(
    "delete",
    "Delete map"
  ),
  datamapsOutput("map")
)

server <- function(input, output){
  output$map <- renderDatamaps({
    datamaps()
  })
}

shinyApp(ui, server)
# }