Packagecom.esri.ags.tasks.supportClasses
Classpublic class RouteResult
InheritanceRouteResult Inheritance flash.events.EventDispatcher

Since : ArcGIS API for Flex 1.2

Represents the route result - which, together with barriers and messages make up the RouteSolveResult.

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

RouteSolveResult


Public Properties
 PropertyDefined By
  directions : DirectionsFeatureSet
Route directions are returned if returnDirections was set to true (the default is false).
RouteResult
  route : Graphic
Route graphic (a polyline) is returned if returnRoutes is true (the default) and outputLines is not "esriNAOutputLineNone" (no line at all).
RouteResult
  routeName : String
The name of the route.
RouteResult
  stops : Array
Array of stops.
RouteResult
Property Detail
directionsproperty
directions:DirectionsFeatureSet

Route directions are returned if returnDirections was set to true (the default is false).

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


Implementation
    public function get directions():DirectionsFeatureSet
    public function set directions(value:DirectionsFeatureSet):void
routeproperty 
route:Graphic

Route graphic (a polyline) is returned if returnRoutes is true (the default) and outputLines is not "esriNAOutputLineNone" (no line at all).

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


Implementation
    public function get route():Graphic
    public function set route(value:Graphic):void
routeNameproperty 
routeName:String

The name of the route.

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


Implementation
    public function get routeName():String
    public function set routeName(value:String):void
stopsproperty 
stops:Array

Array of stops. A stop is an instance of Graphic

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


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