setTransparent: Set Transparency for GIBS Layers

View source: R/gibs.R

setTransparentR Documentation

Set Transparency for GIBS Layers

Description

Change the transparency for no-data pixels.

Usage

setTransparent(map, layers = NULL, transparent = TRUE)

Arguments

map

a map widget object created from leaflet()

layers

A character vector of GIBS-layers. See gibs_layers

transparent

Should the layer be transparent. If multiple layers are added, you can add a boolean vector of the same length

Value

the new map object

See Also

Other GIBS Functions: addGIBS(), setDate()


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