Skip to contents

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()