processOpts: Prepare arguments for addDrawToolbar or addPmToolbar

Description Usage Arguments Value

View source: R/addToolbar.R

Description

Prepare arguments for addDrawToolbar or addPmToolbar

Usage

1

Arguments

fun

Function used by editor package (leafpm or leaflet.extras) to set defaults

args

Either a (possibly nested) list of named options of the form suitable for passage to fun or (if the chosen editor is "leaflet.extras") FALSE.

Value

An object suitable for passing in as the supplied argument to either leaflet.extras::addDrawToolbar or leafpm::addPmToolbar.


mapedit documentation built on Feb. 3, 2020, 1:07 a.m.