Packagecom.esri.ags.tasks.supportClasses
Classpublic class RouteSolveResult
InheritanceRouteSolveResult Inheritance flash.events.EventDispatcher

Since : ArcGIS API for Flex 1.2

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

Note: RouteSolveResult, and other routing related classes, were added in version 1.2 and requires ArcGIS Server 9.3.1 or above and a "route" layer. A "route" layer is a layer of type "esriNAServerRouteLayer", for example, http://tasks.arcgisonline.com/ArcGIS/rest/services/NetworkAnalysis/ESRI_Route_EU/NAServer/Route.

See also

com.esri.ags.tasks.RouteTask
RouteResult
Live Sample - Routing.
Live Sample - Routing with driving directions.


Public Properties
 PropertyDefined By
  messages : Array
The solution messages (if returned in the server response) are an array of NAMessage instances.
RouteSolveResult
  pointBarriers : Array
The point barriers are an array of graphics having point geometry.
RouteSolveResult
  polygonBarriers : Array
The polygon barriers are an array of graphics having polygon geometry.
RouteSolveResult
  polylineBarriers : Array
The polyline barriers are an array of graphics having polyline geometry.
RouteSolveResult
  routeResults : Array
The route results is an array of RouteResult instances.
RouteSolveResult
Property Detail
messagesproperty
messages:Array

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

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


Implementation
    public function get messages():Array
    public function set messages(value:Array):void

See also

pointBarriersproperty 
pointBarriers:Array

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

Note: this property was known in version 1.x as "barriers".

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


Implementation
    public function get pointBarriers():Array
    public function set pointBarriers(value:Array):void

See also

polygonBarriersproperty 
polygonBarriers:Array

The polygon barriers are an array of graphics having polygon geometry. They are returned only if RouteParameters.returnPolygonBarriers was set to true (which is not the default). If you send in the polygon 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.


Implementation
    public function get polygonBarriers():Array
    public function set polygonBarriers(value:Array):void

See also

polylineBarriersproperty 
polylineBarriers:Array

The polyline barriers are an array of graphics having polyline geometry. They are returned only if RouteParameters.returnPolylineBarriers was set to true (which is not the default). If you send in the polyline 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.


Implementation
    public function get polylineBarriers():Array
    public function set polylineBarriers(value:Array):void

See also

routeResultsproperty 
routeResults:Array

The route results is an array of RouteResult instances.

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


Implementation
    public function get routeResults():Array
    public function set routeResults(value:Array):void

See also