Learn R Programming

leaflet.extras (version 2.0.1)

edittoolbarOptions: Options for editing the toolbar

Description

Customize the edit toolbar for addDrawToolbar

Usage

edittoolbarOptions(
  actions = list(save = list(title = "Save changes", text = "Save"), cancel = list(title
    = "Cancel editing, discards all changes", text = "Cancel"), clearAll = list(title =
    "Clear all layers", text = "Clear All")),
  buttons = list(edit = "Edit layers", editDisabled = "No layers to edit", remove =
    "Delete layers", removeDisabled = "No layers to delete")
)

Arguments

actions

List of options for edit action tooltips.

buttons

List of options for edit button tooltips.