Learn R Programming

datamaps (version 0.0.3)

delete_map: Remove map

Description

Remove the map

Usage

delete_map(proxy)

Arguments

proxy

a proxy as returned by datamapsProxy.

Examples

Run this code
# NOT RUN {
library(shiny)

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

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

shinyApp(ui, server)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab