Class: LayerTimeOptions

Description

Class added v2.0.

Defines the time options for the layer.

Samples

Search for samples that use this class.  

Class hierarchy

esri.layers.LayerTimeOptions

Properties

Property Type Description
timeDataCumulative Boolean If true, the layer will draw all features from the beginning of the data's time extent.
timeOffset Number The length of time the data is offset from the time when the data was recorded. Specify the units using the timeOffsetUnits property.
timeOffsetUnits String Temporal unit in which the time offset is measured. See the TimeInfo Constants table for valid values.
useTime Boolean If true, the layer participates in time-related rendering and query operations.
Properties Detail

<Boolean> timeDataCumulative

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.

<Number> timeOffset

The length of time the data is offset from the time when the data was recorded. Specify the units using the timeOffsetUnits property.
See also:
timeOffsetUnits  

<String> timeOffsetUnits

Temporal unit in which the time offset is measured. See the TimeInfo Constants table for valid values.
See also:
timeOffset  

<Boolean> useTime

If true, the layer participates in time-related rendering and query operations.