timelineOptions: Timeline Options Helper

Description Usage Arguments Value See Also

View source: R/options.R

Description

Timeline Options Helper

Usage

1
2
3
4
5
6
timelineOptions(
  getInterval = NULL,
  pointToLayer = pointToLayerFun(),
  styleOptions = leaftime::styleOptions(),
  drawOnSetTime = NULL
)

Arguments

getInterval

htmlwidgets::JS function that returns an object with start and end properties to specify the start and end of the timeline range. See getInterval.

pointToLayer

htmlwidgets::JS function that determines what is drawn on the map. By default, a circle marker will be drawn. See pointToLayer.

styleOptions

list from styleOptions.

drawOnSetTime

logical to draw when time is set. Default is TRUE. See drawOnSetTime.

Value

list with options to customize the timeline

See Also

addTimeline


leaftime documentation built on Jan. 26, 2020, 5:06 p.m.