removeConditionalLayer: removeConditionalLayer

View source: R/layergroupconditional.R

removeConditionalLayerR Documentation

removeConditionalLayer

Description

removeConditionalLayer

Usage

removeConditionalLayer(map, groups)

Arguments

map

A map widget object created from leaflet.

groups

A character vector of layer group names already added to the map. These layer groups will be conditionally displayed based on the specified conditions.

See Also

Other LayerGroupConditional Plugin: addLayerGroupConditional(), clearConditionalLayers()


leaflet.extras2 documentation built on April 3, 2025, 10:46 p.m.