AGSLayerTimeOptions Class Reference


Description

Instances of this class represent options for time-aware layers.

Defined in:
AGSTime.h ( ArcGIS library)
Since:
1.8
Inheritance diagram for AGSLayerTimeOptions:
<AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Properties

NSUInteger layerId
BOOL timeDataCumulative
double timeOffset
AGSTimeIntervalUnits timeOffsetUnits
BOOL useTime

Member Function Documentation

- (void) decodeWithJSON: (NSDictionary *)  json   [optional, inherited]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional, inherited]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional, inherited]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0

Property Documentation

- (NSUInteger) layerId [read, write, assign]

The ID of the layer

Since:
1.8
- (BOOL) timeDataCumulative [read, write, assign]

Specifies whether the layer should treat the map's time extent cumulatively. If true, the layer will draw all features from the beginning of the data's time extent.

Since:
1.8
- (double) timeOffset [read, write, assign]

Specifies an offset that will be applied to the time information of all features in the layer. The offset it applied on-the-fly, it does not change the actual data of the layer.

Since:
1.8
- (AGSTimeIntervalUnits) timeOffsetUnits [read, write, assign]

Specifies the units of timeOffset

Since:
1.8
- (BOOL) useTime [read, write, assign]

Specifies whether the layer should be time aware. If a layer is time aware, it honours the map's time extent and only displays features that belong to that time period/instant.

Since:
1.8