Function to clear all groups from a leaflet object from within a shiny application.
1 | clearGroups(map, ...)
|
map |
a string containing the name of the map |
... |
a comma seperated set of strings that contain the group names to clear See README for example useage. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.