Add a (possibly customized) toolbar to a leaflet map
addToolbar(leafmap, editorOptions, editor = "leafpm", targetLayerId)The leaflet map supplied to leafmap, now with an
added toolbar.
leaflet map to use for Selection
A list of options to be passed on to
leafpm::addPmToolbar.
Character string giving editor to be used for the
current map. Defaults to "leafpm" which is the only supported
option at the moment.
string name of the map layer group to
use with edit