Packagecom.esri.ags.events
Classpublic class RouteEvent
InheritanceRouteEvent Inheritance flash.events.Event

Since : ArcGIS API for Flex 1.2

Represents event objects that are specific to RouteTask.

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

com.esri.ags.tasks.RouteTask


Public Properties
 PropertyDefined By
  routeSolveResult : RouteSolveResult
The result of the route solve execution.
RouteEvent
Public Methods
 MethodDefined By
  
RouteEvent(type:String, routeSolveResult:RouteSolveResult = null)
Creates a new RouteEvent.
RouteEvent
Public Constants
 ConstantDefined By
  SOLVE_COMPLETE : String = solveComplete
[static] Defines the value of the type property of an solveComplete event object.
RouteEvent
Property Detail
routeSolveResultproperty
public var routeSolveResult:RouteSolveResult

The result of the route solve execution.

Constructor Detail
RouteEvent()Constructor
public function RouteEvent(type:String, routeSolveResult:RouteSolveResult = null)

Creates a new RouteEvent.

Parameters
type: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.
Constant Detail
SOLVE_COMPLETEConstant
public static const SOLVE_COMPLETE:String = solveComplete

Defines the value of the type property of an solveComplete event object.