clear_legend function

Clear legend from a map in a proxy session

Clear legend from a map in a proxy session

clear_legend(map)

Arguments

  • map: A map object created by the mapboxgl_proxy or maplibre_proxy function.

Returns

The updated map object with the legend cleared.

  • Maintainer: Kyle Walker
  • License: MIT + file LICENSE
  • Last published: 2025-03-18