showGroup

0th

Percentile

Show or hide layer groups

Hide groups of layers without removing them from the map entirely. Groups are created using the group parameter that is included on most layer adding functions.

Usage
showGroup(map, group)

hideGroup(map, group)

Arguments
map
the map to modify
group
character vector of one or more group names to show or hide
See Also

addLayersControl to allow users to show/hide layer groups interactively

Aliases
  • hideGroup
  • showGroup
Documentation reproduced from package leaflet, version 1.0.0, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.