Set a new date for multi-temporal layers.

setDate(map, layers = NULL, dates = NULL)

Arguments

map

a map widget object created from leaflet()

layers

A character vector of GIBS-layers. See gibs_layers

dates

Date object. If multiple layers are added, you can add a Date vector of the same length

Value

the new map object

See also

Other GIBS Functions: addGIBS(), setTransparent()