AGSDirectionGraphic Class Reference
Description
Instances of this class represent an individual maneuver in a series of turn-by-turn driving directions.
- Since:
- 1.8
List of all members.
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
Returns autoreleased graphic object. Only the geometry
argument is mandatory.
- Parameters:
-
| geometry | The geometry defining the graphic. |
| symbol | The symbol used to draw the graphic. Can be nil. |
| attributes | Name-value pairs of fields and field values associated with the graphic. |
| infoTemplateDelegate | The template describing how to display attributes in the callout. Can be nil. |
- Returns:
- A new, autoreleased, graphic object.
- Since:
- 1.0
Initialize the graphic object. Only the geometry
argument is mandatory.
- Parameters:
-
| geometry | The geometry defining the graphic. |
| symbol | The symbol used to draw the graphic. Can be nil. |
| attributes | Name-value pairs of fields and field values associated with the graphic. |
| infoTemplateDelegate | The template describing how to display attributes in the callout. Can be nil. |
- Returns:
- A new graphic 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
- (NSMutableDictionary*) attributes [read, write, retain, inherited] |
Attributes representing additional information about this graphic. Consists of key-value pairs of field names and field values.
- Since:
- 1.0
- (NSDate*) ETA [read, assign] |
The estimated time of arrival after upon completion of the direction.
- Since:
- 1.8
- (AGSGeometry*) geometry [read, write, retain, inherited] |
The geometry that defines the graphic's shape and location.
- Since:
- 1.0
Template describing how the callout should display this graphic's attributes.
- See also:
- AGSCalloutTemplate
- Since:
- 1.0
The graphics layer that this graphic belongs to, if any.
- Since:
- 1.8
- (double) length [read, assign] |
The length of the direction.
- Since:
- 1.8
The type of maneuver required to complete the direction.
- Since:
- 1.8
- (AGSSymbol*) symbol [read, write, retain, inherited] |
The symbol for the graphic.
- Since:
- 1.0
- (NSString*) text [read, assign] |
The text that describes the direction.
- Since:
- 1.8
- (double) time [read, assign] |
The time to complete the direction.
- Since:
- 1.8