require(["esri/layers/LayerTimeOptions"], function(LayerTimeOptions) { /* code goes here */ });
Description
(Added at v2.0)
Defines the time options for the layer.
Samples
Search for
samples that use this class.
Properties
Property Details
If true, the layer will draw all features from the beginning of the data's time extent. For example, when displaying the location of a wild animal, this property will cause the layer to display the historical locations for the animal, providing a good view of the animals territory.
Known values: true | false
The length of time the data is offset from the time when the data was recorded. Specify the units using the
timeOffsetUnits property.
Temporal unit in which the time offset is measured. See the
TimeInfo Constants table for valid values.
If true, the layer participates in time-related rendering and query operations.
Known values: true | false