Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/support
esri/workers
Class: LayerTimeOptions

dojo.require("esri.layers.LayerTimeOptions")

Description

(Added at v2.0)
Defines the time options for the layer.

Samples

Search for samples that use this class.

Properties

NameTypeSummary
timeDataCumulativeBooleanIf true, the layer will draw all features from the beginning of the data's time extent.
timeOffsetNumberThe length of time the data is offset from the time when the data was recorded.
timeOffsetUnitsStringTemporal unit in which the time offset is measured.
useTimeBooleanIf true, the layer participates in time-related rendering and query operations.
Property Details

<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.
Known values: true | false

<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.
Known values: true | false
Show Modal