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.combine_list_of_sf
with length 0
list
; found when editFeatures()
and save with
no changesAPI breaking change
editMap
and selectMap
dplyr
sf
edit_map()
now returns sf
instead of
geojson
by default. Toggle behavior with the
sf
argument.