leaftime (version 0.1.2)

timelineOptions: Timeline Options Helper

Description

Timeline Options Helper

Usage

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 link{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