edittoolbarOptions: Options for editing the toolbar

View source: R/drawOptions.R

edittoolbarOptionsR Documentation

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.


leaflet.extras documentation built on Sept. 11, 2024, 7:54 p.m.