Description Usage Arguments Value Note
View source: R/fct_edit_mod_poly.R
Shiny Module Server for Geo Create, Edit, Delete
1 2 3 4 5 6 7 8 9 10 11 | editModPoly(
input,
output,
session,
leafmap,
targetLayerId = NULL,
sf = TRUE,
record = FALSE,
crs = 4326,
rv
)
|
input |
Shiny server function input |
output |
Shiny server function output |
session |
Shiny server function session |
leafmap |
leaflet map to use for Selection |
targetLayerId |
|
sf |
|
record |
|
crs |
CRS (EPSG) to be used |
rv |
Reactive value |
server function for Shiny module
Slightly edited from [mapedit::editMod] in order to allow drawing only polygons.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.