Shiny Module Server for Geo Create, Edit, Delete
editModPoly(input, output, session, leafmap, targetLayerId = NULL, sf = TRUE, record = FALSE, crs = 4326)
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 |
server function for Shiny module
Slightly edited from mapedit::editMod in order to allow drawing only polygons.