A pipe-friendly way to register a plugin for a Leaflet map
registerPlugin.Rd
A pipe-friendly way to register a plugin for a Leaflet map
Arguments
- map
A Leaflet map, eg. the output of
leaflet::leaflet()
- plugin
A plugin, eg.
leaflet.circlesector::circlePlugin
See also
Other plugin:
addCircleSectorMid()
,
addCircleSectorMinMax()
,
circlePlugin()
,
leaflet_basemap()
Examples
if (FALSE) {
library(leaflet.circlesector) # loads pipe
leaflet::leaflet() %>%
registerPlugin(circlePlugin())
}