Configurable properties used within the TimeSlider widget.

Referenced by: timeSlider

Properties

PropertyDetails
currentTimeExtent[]An optional array of numbers indicating the slider’s start to end time extent.
endTimeThe optional end of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers.
loopWhen true, the time slider will play its animation in a loop. The default is false.
numberOfStopsNumber of stops within the timeSlider widget.
startTimeThe optional start of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers.
stops[]An optional array of numbers that defines stops for the time slider. Can be used to create irregularly spaced stops representing specific moments of importance.
thumbCountThe default value for the thumbCount is 2.
thumbMovingRateRate at which the time animation plays. Units are in milliseconds. Default is 2000.
timeStopIntervalThe interval which has been defined for the time slider.

timeSliderProperties Example

{
"properties": {
"startTime": 965698219737,
"endTime": 971683552964,
"thumbCount": 2,
"thumbMovingRate": 2000,
"loop": true,
"currentTimeExtent": [
965698219737,
966303019737
],
"timeStopInterval": {
"interval": 1,
"units": "esriTimeUnitsWeeks"
}
}
}