Packagecom.esri.ags.events
Classpublic class ClosestFacilityEvent
InheritanceClosestFacilityEvent Inheritance flash.events.Event

Since : ArcGIS API for Flex 2.0

Represents event objects that are specific to ClosestFacilityTask.

Note: ClosestFacilityEvent, and other closest facility related classes, requires ArcGIS Server 10.0 or above and a "closest facility" layer. A "closest facility" layer is a layer of type "esriNAServerClosestFacilityLayer".

See also

com.esri.ags.tasks.ClosestFacilityTask
Live sample - Using ClosestFacilityTask and solveComplete.


Public Properties
 PropertyDefined By
  closestFacilitySolveResult : ClosestFacilitySolveResult
The result of the closest facility solve execution.
ClosestFacilityEvent
Public Methods
 MethodDefined By
  
ClosestFacilityEvent(type:String, closestFacilitySolveResult:ClosestFacilitySolveResult = null)
Creates a new ClosestFacilityEvent.
ClosestFacilityEvent
Public Constants
 ConstantDefined By
  SOLVE_COMPLETE : String = solveComplete
[static] Defines the value of the type property of an solveComplete event object.
ClosestFacilityEvent
Property Detail
closestFacilitySolveResultproperty
public var closestFacilitySolveResult:ClosestFacilitySolveResult

The result of the closest facility solve execution.

Constructor Detail
ClosestFacilityEvent()Constructor
public function ClosestFacilityEvent(type:String, closestFacilitySolveResult:ClosestFacilitySolveResult = null)

Creates a new ClosestFacilityEvent.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
closestFacilitySolveResult:ClosestFacilitySolveResult (default = null) — The closest facility 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.