Skip to contents

Clear markers from a map in a Shiny session

Usage

clear_markers(map)

Arguments

map

A map object created by the mapboxgl_proxy or maplibre_proxy function.

Value

The modified map object with the markers cleared.