removeConditionalLayer {leaflet.extras2}R 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()


[Package leaflet.extras2 version 1.3.1 Index]