In shiny, clear all features, images and legends.

leaf_clear(map_id = "leaf")

Arguments

map_id

The map id for a leaflet map. Defaults to "leaf".

Value

A map object.