Packagecom.esri.ags.events
Classpublic class LocatorEvent
InheritanceLocatorEvent Inheritance flash.events.Event

Represents event objects that are specific to the Locator task.

See also

com.esri.ags.tasks.Locator
Live Sample - using LocatorEvent.


Public Properties
 PropertyDefined by
  addressCandidate : AddressCandidate
Address candidate.
LocatorEvent
  addressCandidates : Array
Array of AddressCandidate.
LocatorEvent
Public Methods
 MethodDefined by
  
LocatorEvent(type:String, addressCandidates:Array = null, addressCandidate:AddressCandidate = null)
Creates a new LocatorEvent.
LocatorEvent
Public Constants
 ConstantDefined by
  ADDRESS_TO_LOCATIONS_COMPLETE : String = "addressToLocationsComplete"
[static] Defines the value of the type property of an addressToLocationsComplete event object.
LocatorEvent
  LOCATION_TO_ADDRESS_COMPLETE : String = "locationToAddressComplete"
[static] Defines the value of the type property of a locationToAddressComplete event object.
LocatorEvent
Property detail
addressCandidateproperty
public var addressCandidate:AddressCandidate

Address candidate. This property is set when the type is locationToAddressComplete

addressCandidatesproperty 
public var addressCandidates:Array

Array of AddressCandidate. This property is set when the type is addressToLocationsComplete.

See also

Constructor detail
LocatorEvent()constructor
public function LocatorEvent(type:String, addressCandidates:Array = null, addressCandidate:AddressCandidate = null)

Creates a new LocatorEvent.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
addressCandidates:Array (default = null) — The featureSet associated with this event, or null.
 
addressCandidate:AddressCandidate (default = null)
Constant detail
ADDRESS_TO_LOCATIONS_COMPLETEconstant
public static const ADDRESS_TO_LOCATIONS_COMPLETE:String = "addressToLocationsComplete"

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

LOCATION_TO_ADDRESS_COMPLETEconstant 
public static const LOCATION_TO_ADDRESS_COMPLETE:String = "locationToAddressComplete"

Defines the value of the type property of a locationToAddressComplete event object.