setDate {leaflet.extras2}R Documentation

Set Date for GIBS Layers

Description

Set a new date for multi-temporal layers.

Usage

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


[Package leaflet.extras2 version 1.2.2 Index]