R/leaf_clear.R
leaf_clear.Rd
In shiny, clear all features, images and legends.
leaf_clear(map_id = "leaf")
The map id for a leaflet map. Defaults to "leaf".
A map object.