TimeSlider properties

Configurable properties used within the TimeSlider widget.

Referenced by: timeSlider

Properties

Property Details
currentTimeExtent An optional array of numbers indicating the slider's start to end time extent.
endTime The optional end of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers.
loop When true, the time slider will play its animation in a loop. The default is false.
numberOfStops Number of stops within the timeSlider widget.
startTime The 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.
thumbCount The default value for the thumbCount is 2.
thumbMovingRate Rate at which the time animation plays. Units are in milliseconds. Default is 2000.
timeStopInterval The 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"
    }
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.