Set Options for 'leaflet.pm' Toolbar
pmToolbarOptions(drawMarker = TRUE, drawPolygon = TRUE,
drawPolyline = TRUE, drawCircle = TRUE, drawRectangle = TRUE,
editMode = TRUE, cutPolygon = TRUE, removalMode = TRUE,
position = "topleft")
logical
add button to draw a marker. Default is TRUE
.
logical
add button to draw a polygon. Default is TRUE
.
logical
add button to draw a polyline. Default is TRUE
.
logical
add button to draw a circle. Default is TRUE
.
logical
add button to draw a rectangle. Default is TRUE
.
logical
add button to edit features. Default is TRUE
.
logical
add button to cut a hole. Default is TRUE
.
logical
add button to remove features. Default is TRUE
.
string
toolbar position. Options are 'topleft', 'topright', 'bottomleft', 'bottomright'.
Default is 'topleft'
.
leaflet
htmlwidget with added toolbar