clear_markers function

Clear markers from a map in a Shiny session

Clear markers from a map in a Shiny session

clear_markers(map)

Arguments

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

Returns

The modified map object with the markers cleared.

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