clear_legend.Rd
Clear legend from a map in a proxy session
clear_legend(map)
A map object created by the mapboxgl_proxy or maplibre_proxy function.
mapboxgl_proxy
maplibre_proxy
The updated map object with the legend cleared.