| Package | com.esri.ags.events |
| Class | public class RouteEvent |
| Inheritance | RouteEvent flash.events.Event |
| Since : | ArcGIS API for Flex 1.2 |
Note: RouteEvent, 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 | ||
|---|---|---|---|
| routeSolveResult : RouteSolveResult
The result of the route solve execution. | RouteEvent | ||
| Method | Defined By | ||
|---|---|---|---|
RouteEvent(type:String, routeSolveResult:RouteSolveResult = null)
Creates a new RouteEvent. | RouteEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| SOLVE_COMPLETE : String = solveComplete [static]
Defines the value of the type property of an solveComplete event object. | RouteEvent | ||
| routeSolveResult | property |
public var routeSolveResult:RouteSolveResultThe result of the route solve execution.
| RouteEvent | () | Constructor |
public function RouteEvent(type:String, routeSolveResult:RouteSolveResult = null)Creates a new RouteEvent.
Parameterstype:String — The event type; indicates the action that triggered the event.
| |
routeSolveResult:RouteSolveResult (default = null) — The route solve result associated with this event, or null.
|
| SOLVE_COMPLETE | Constant |
public static const SOLVE_COMPLETE:String = solveComplete
Defines the value of the type property of an solveComplete event object.