| Package | com.esri.ags.tasks.supportClasses |
| Class | public class RouteResult |
| Inheritance | RouteResult flash.events.EventDispatcher |
| Since : | ArcGIS API for Flex 1.2 |
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
| Property | Defined 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 | ||
| directions | property |
directions:DirectionsFeatureSetRoute directions are returned if returnDirections was set to true (the default is false).
This property can be used as the source for data binding.
public function get directions():DirectionsFeatureSet public function set directions(value:DirectionsFeatureSet):void| route | property |
route:GraphicRoute 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.
public function get route():Graphic public function set route(value:Graphic):void| routeName | property |
routeName:StringThe name of the route.
This property can be used as the source for data binding.
public function get routeName():String public function set routeName(value:String):void| stops | property |
stops:Array
Array of stops. A stop is an instance of Graphic
This property can be used as the source for data binding.
public function get stops():Array public function set stops(value:Array):void