showGroup: Show or hide layer groups

Description Usage Arguments See Also

Description

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

1
2
3

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



Search within the leaflet package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.