AGSDirectionSet Class Reference


Description

Object containing an array of AGSDirectionGraphic objects that represent the directions of an AGSRoute.

Since:
1.8
Inheritance diagram for AGSDirectionSet:
<AGSCoding>

List of all members.

Public Member Functions

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

Properties

AGSEnvelopeextent
NSArray * graphics
AGSPolylinemergedGeometry
NSString * routeId
NSString * routeName
double totalDriveTime
double totalLength
double totalTime

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

- (AGSEnvelope*) extent [read, retain]

The extent of the resulting route.

Since:
1.8
- (NSArray*) graphics [read, retain]

Array of AGSDirectionGraphic objects representing directions for a route.

Since:
1.8
- (AGSPolyline*) mergedGeometry [read, retain]

A single polyline representing the route.

Since:
1.8
- (NSString*) routeId [read, copy]

The Id of the route returned from the server.

Since:
1.8
- (NSString*) routeName [read, copy]

The name specified in AGSRouteTaskParameters stops property.

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

The actual drive time calculated for the route.

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

The length of the route as specified in AGSRouteTaskParameters directionsLengthUnits property.

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

The total time calculated for the route as specified in AGSRouteTaskParameters directionsTimeAttributeName property.

Since:
1.8