clear_controls {mapgl}R Documentation

Clear all controls from a Mapbox GL or Maplibre GL map in a Shiny app

Description

Clear all controls from a Mapbox GL or Maplibre GL map in a Shiny app

Usage

clear_controls(map)

Arguments

map

A map object created by the mapboxgl or maplibre function.

Value

The modified map object with all controls removed.


[Package mapgl version 0.1.4 Index]