Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

editMod

Shiny Module Server for Geo Create, Edit, Delete


Description

Shiny Module Server for Geo Create, Edit, Delete

Usage

editMod(
  input,
  output,
  session,
  leafmap,
  targetLayerId = NULL,
  sf = TRUE,
  record = FALSE,
  crs = 4326,
  editor = c("leaflet.extras", "leafpm"),
  editorOptions = list()
)

Arguments

input

Shiny server function input

output

Shiny server function output

session

Shiny server function session

leafmap

leaflet map to use for Selection

targetLayerId

character identifier of layer to edit, delete

sf

logical to return simple features. sf=FALSE will return GeoJSON.

record

logical to record all edits for future playback.

crs

see st_crs.

editor

character either "leaflet.extras" or "leafpm"

editorOptions

list of options suitable for passing to either leaflet.extras::addDrawToolbar or leafpm::addPmToolbar.

Value

server function for Shiny module


mapedit

Interactive Editing of Spatial Data in R

v0.6.0
MIT + file LICENSE
Authors
Tim Appelhans [aut, cre], Kenton Russell [aut], Lorenzo Busetto [aut], Josh O'Brien [ctb], Jakob Gutschlhofer [ctb]
Initial release
2020-02-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.