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

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

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.