Packagecom.esri.ags.events
Classpublic class ServiceAreaEvent
InheritanceServiceAreaEvent Inheritance flash.events.Event

Since : ArcGIS API for Flex 2.0

Represents event objects that are specific to ServiceAreaTask.

Note: ServiceAreaEvent, and other service area related classes, requires ArcGIS Server 10.0 or above and a "service area" layer. A "service area" layer is a layer of type "esriNAServerServiceAreaLayer".

See also

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


Public Properties
 PropertyDefined By
  serviceAreaSolveResult : ServiceAreaSolveResult
The result of the service area solve execution.
ServiceAreaEvent
Public Methods
 MethodDefined By
  
ServiceAreaEvent(type:String, serviceAreaSolveResult:ServiceAreaSolveResult = null)
Creates a new ServiceAreaEvent.
ServiceAreaEvent
Public Constants
 ConstantDefined By
  SOLVE_COMPLETE : String = solveComplete
[static] Defines the value of the type property of an solveComplete event object.
ServiceAreaEvent
Property Detail
serviceAreaSolveResultproperty
public var serviceAreaSolveResult:ServiceAreaSolveResult

The result of the service area solve execution.

Constructor Detail
ServiceAreaEvent()Constructor
public function ServiceAreaEvent(type:String, serviceAreaSolveResult:ServiceAreaSolveResult = null)

Creates a new ServiceAreaEvent.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
serviceAreaSolveResult:ServiceAreaSolveResult (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.