Learn R Programming

leaflet.extras2 (version 1.3.1)

setDate: Set Date for GIBS Layers

Description

Set a new date for multi-temporal layers.

Usage

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

Value

the new map object

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

See Also

Other GIBS Functions: addGIBS(), setTransparent()