drawFeatures {mapedit} | R Documentation |
Draw (simple) features on a map
Description
Draw (simple) features on a map
Usage
drawFeatures(
map = NULL,
sf = TRUE,
record = FALSE,
viewer = shiny::paneViewer(),
title = "Draw Features",
editor = c("leaflet.extras", "leafpm"),
editorOptions = list(),
...
)
Arguments
map |
a background |
sf |
|
record |
|
viewer |
|
title |
|
editor |
|
editorOptions |
|
... |
additional arguments passed on to |
Details
When setting viewer = browserViewer(browser = getOption("browser"))
and
the systems default browser is Firefox, the browser window will likely not
automatically close when the app is closed (by pressing "done" or "cancel").
To enable automatic closing of tabs/windows in Firefox try the following:
input "about:config " to your firefox address bar and hit enter
make sure your "dom.allow_scripts_to_close_windows" is true