delete_map: Remove map

Description Usage Arguments Examples

View source: R/proxies.R

Description

Remove the map

Usage

1
delete_map(proxy)

Arguments

proxy

a proxy as returned by datamapsProxy.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## Not run: 
library(shiny)

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

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

shinyApp(ui, server)

## End(Not run)

JohnCoene/datamaps documentation built on Aug. 30, 2020, 7:20 a.m.