Packagecom.esri.ags.tasks
Classpublic class RouteSolveResult

Output result from a RouteTask operation - the actual 'results' are available as an array of RouteResults.

Note: RouteSolveResult, and other routing related classes, were added in version 1.2 and requires ArcGIS Server 9.3.1 or above (with a "route" layer).

See also

RouteTask
RouteResult
Live Sample - Routing.
Live Sample - Routing with driving directions.


Public Properties
 PropertyDefined by
  barriers : Array
The barriers are an array of graphics.
RouteSolveResult
  messages : Array
The solution messages (if returned in the server response) are an array of GPMessage instances.
RouteSolveResult
  routeResults : Array
The route results is an array of RouteResult instances.
RouteSolveResult
Property detail
barriersproperty
public var barriers:Array

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

This property can be used as the source for data binding.

See also

messagesproperty 
public var messages:Array

The solution messages (if returned in the server response) are an array of GPMessage instances.

This property can be used as the source for data binding.

See also

routeResultsproperty 
public var routeResults:Array

The route results is an array of RouteResult instances.

This property can be used as the source for data binding.

See also