Remove the map
delete_map(proxy)
proxy | a proxy as returned by |
---|
if (FALSE) { library(shiny) ui <- fluidPage( actionButton( "delete", "Delete map" ), datamapsOutput("map") ) server <- function(input, output){ output$map <- renderDatamaps({ datamaps() }) } shinyApp(ui, server) }