timesliderOptions {leaflet.extras2} | R Documentation |
timesliderOptions
Description
A list of options for addTimeslider
.
Usage
timesliderOptions(
position = c("topright", "bottomleft", "bottomright", "topleft"),
timeAttribute = "time",
isEpoch = FALSE,
startTimeIdx = 0,
timeStrLength = 19,
maxValue = -1,
minValue = 0,
showAllOnStart = FALSE,
range = FALSE,
follow = FALSE,
alwaysShowDate = FALSE,
rezoom = NULL,
sameDate = FALSE
)
Arguments
position |
position of control: "topleft", "topright", "bottomleft", or
"bottomright". Default is |
timeAttribute |
The column name of the time property.
Default is |
isEpoch |
whether the time attribute is seconds elapsed from epoch.
Default is |
startTimeIdx |
where to start looking for a timestring
Default is |
timeStrLength |
the size of |
maxValue |
Set the maximum value of the slider. Default is |
minValue |
Set the minimum value of the slider. Default is |
showAllOnStart |
Specify whether all markers should be initially visible.
Default is |
range |
To use a range-slider, set to |
follow |
To display only the markers at the specific timestamp specified
by the slider. Specify a value of 1 (or true) to display only a single data
point at a time, and a value of null (or false) to display the current marker
and all previous markers. The range property overrides the follow property.
Default is |
alwaysShowDate |
Should the Date always be visible. Default is |
rezoom |
Use the rezoom property to ensure the markers being displayed
remain in view. Default is |
sameDate |
Show only data with the current selected time.
Default is |
Value
A list of options for addTimeslider
References
https://github.com/dwilhelm89/LeafletSlider
See Also
Other Timeslider Functions:
addTimeslider()
,
removeTimeslider()