properly flush deleted features when user deletes multiple. See issue #106.
allow mapedit
to work in a loop or in sequence. See issue #83.
make behavior of selectFeatures
consistent between modes "draw"
and "click"
when working with features with no CRS. See issue #110.
Add listener for all features and add to returned features with leaflet.extras
editor. See pull #98.
Add editorOptions
for better control of options in edit*
and draw*
functions. See pull #100 and pull #103.
editor = "leafpm"
to draw*()
and edit*()
functions to use the Leaflet.pm
pluging for editing. Leaflet.pm
provides support for creating and editing holes, snapping, and integrates better with some multi*
features. Note, mapedit
now offers two editors "leaflet.extras"
and "leafpm"
, since each have advantages and disadvantages.stopApp when session ended to handle when a user closes a browser tab or window when using viewer = browserViewer(browser = getOption("browser"))
add circleMarkerOptions for Leaflet.draw
warn when feature drawn outside of -180, 180
fix precision to match new Leaflet 6 digits
expose title argument to editFeatures and drawFeatures
edit
module lookup for already added Leaflet.draw
add drawing mode to selectFeatures to enable selection via point/line/polygon drawing. Selection will be done using any of ?geos_binary_ops
; thx @tim-salabim
add CRS
in edit*
functions; thx @tim-salabim
add label for reference in edit*
and select*
add title argument for editMap()
automatically close browser window on Shiny session end when using
viewer = browserViewer(browser = getOption("browser"))
add new function drawFeatures
polygons of length > 1
not handled correctly. See discussion.
remove internally added edit_id
column in editFeatures return
cast edits back to their original type. See discussion
fix merge_edit to only consider last edit when there are multiple edits per layerId
sf
; thanks @tim-salabim for identifyingrecord = TRUE
then a "recorder"
attribute will be added to the returned object for
full reproducibility.