AGSServiceAreaTaskResult Class Reference


Description

The result from an AGSServiceAreaTask operation.

Since:
1.8
Inheritance diagram for AGSServiceAreaTaskResult:
<AGSCoding>

List of all members.

Public Member Functions

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

Properties

NSArray * facilities
NSArray * messages
NSArray * pointBarriers
NSArray * polygonBarriers
NSArray * polylineBarriers
NSArray * serviceAreaPolygons
NSArray * serviceAreaPolylines

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

- (NSArray*) facilities [read, retain]

The facilities (points) as an array of AGSGraphic objects. These are only returned if the returnFacilities property on AGSServiceAreaTaskParameters is set to true.

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

Messages as an array of AGSNAMessage objects. These messages are received when solve is completed. If a service area cannot be solved, the message returned by the server identifies the incident that could not be solved.

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

The point barriers as an array of AGSGraphic objects. They are returned only if returnPointBarriers was set to true (which is not the default). If you send in the point barriers as a featureSet (instead of using AGSDataLayer), you already have the barriers and might not need to request them back from the server.

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

The polygon barriers as an array of AGSGraphic objects. They are returned only if returnPolygonBarriers was set to true (which is not the default). If you send in the polygon barriers as a featureSet (instead of using AGSDataLayer), you already have the barriers and might not need to request them back from the server.

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

The polyline barriers as an array of AGSGraphic objects. They are returned only if returnPolylineBarriers was set to true (which is not the default). If you send in the polyline barriers as a featureSet (instead of using AGSDataLayer), you already have the barriers and might not need to request them back from the server.

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

The resulting service area polygons as an array of AGSGraphic objects.

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

The resulting service area polylines as an array of AGSGraphic objects.

Since:
1.8