leaf_clear | R Documentation |
In shiny, clear all features, images and legends.
leaf_clear(map_id = "leaf")
map_id |
The map id for a leaflet map. Defaults to "leaf". |
A map object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.