Register Plugin to leaflet map
registerPlugin(map, plugin)
Arguments
| map |
The map to register the plugin. |
| plugin |
List with JavaScript dependencies (from 'htmltools::htmlDependency')
to register. |
Value
Leaflet map with plugin registered (JS dependencies added).