Adds a short character string to the bottom-right of the map widget with the
attribution and license of an icon library. group and layerId can be used
to add or remove the attribution - e.g., if the markers using magicIcons()
are hidden.
Arguments
- map
a map widget object created from
leaflet()- library
One of
"fontawesome","bootstrap", or"ionicons", defining the icon library of interest. Defaults to"fontawesome".- layerId
the layer id
- group
the name of the group the newly created layers should belong to (for
clearGroupandaddLayersControlpurposes). Human-friendly group names are permitted–they need not be short, identifier-style names. Any number of layers and even different types of layers (e.g. markers and polygons) can share the same group name.
