Packagecom.esri.ags.tasks
Classpublic class RouteResult

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 (with a "route" layer).

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
public var 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.

routeproperty 
public var 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.

routeNameproperty 
public var routeName:String

The name of the route.

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

stopsproperty 
public var stops:Array

Array of stops. A stop is an instance of Graphic

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