Change the transparency for no-data pixels.

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()