Skip to contents

Clear legend from a map in a proxy session

Usage

clear_legend(map)

Arguments

map

A map object created by the mapboxgl_proxy or maplibre_proxy function.

Value

The updated map object with the legend cleared.