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


[Package leaflet.extras2 version 1.2.2 Index]