Set Options for 'leaflet.pm' Edit Mode
pmEditOptions(snappable = TRUE, snapDistance = 20,
allowSelfIntersection = TRUE, draggable = TRUE,
preventMarkerRemoval = FALSE, preventVertexEdit = FALSE)
logical
to snap while drawing. Default is TRUE
.
integer
for the distance within which snapping will occur. Default is 20
.
logical
to allow self-intersection. Default is TRUE
.
logical
make the layer draggable. Default is TRUE
.
logical
to disable removal via right-click. Default is FALSE
.
logical
to disable editing of vertices. Default is FALSE
.
list
of options