Packagecom.esri.ags.events
Classpublic class GeometryServiceEvent
InheritanceGeometryServiceEvent Inheritance flash.events.Event

Represents event objects that are specific to the GeometryService.

See also

com.esri.ags.tasks.GeometryService
Live Sample - using a listener for GeometryServiceEvent.BUFFER_COMPLETE.
Live Sample - using a listener for GeometryServiceEvent.BUFFER_COMPLETE.
Live Sample - using arealengthsComplete and simplifyComplete with a GeometryService.
Live Sample - using labelPointsComplete and simplifyComplete with a GeometryService.
Live Sample - using lengthsComplete and projectComplete with a GeometryService.
Live Sample - using projectComplete with a GeometryService.
Live Sample - using relationComplete with a GeometryService.
Live Sample - using simplifyComplete with a GeometryService.


Public Properties
 PropertyDefined by
  arealengths : Object
An object with arrays of "areas" and "lengths" as calculated by areasAndLengths() in GeometryService.
GeometryServiceEvent
  graphics : Array
Array of graphics as calculated by buffer(), project(), simplify() or labelPoints() in GeometryService.
GeometryServiceEvent
  lengths : Array
Array of "lengths" as calculated by lengths() in GeometryService.
GeometryServiceEvent
  relations : Array
Array of "relations" as calculated by relation() in GeometryService.
GeometryServiceEvent
Public Methods
 MethodDefined by
  
GeometryServiceEvent(type:String, graphics:Array = null, lengths:Array = null, arealengths:Object = null, relations:Array = null)
Creates a new GeometryServiceEvent.
GeometryServiceEvent
Public Constants
 ConstantDefined by
  AREA_LENGTHS_COMPLETE : String = "arealengthsComplete"
[static] Defines the value of the type property of an areaLengthsComplete event object.
GeometryServiceEvent
  BUFFER_COMPLETE : String = "bufferComplete"
[static] Defines the value of the type property of a bufferComplete event object.
GeometryServiceEvent
  LABEL_POINTS_COMPLETE : String = "labelPointsComplete"
[static] Defines the value of the type property of a labelPointsComplete event object (note: labelPoints() is only available with ArcGIS Server 9.3 Service Pack 1 or above).
GeometryServiceEvent
  LENGTHS_COMPLETE : String = "lengthsComplete"
[static] Defines the value of the type property of a lengthsComplete event object.
GeometryServiceEvent
  PROJECT_COMPLETE : String = "projectComplete"
[static] Defines the value of the type property of a projectComplete event object.
GeometryServiceEvent
  RELATION_COMPLETE : String = "relationComplete"
[static] Defines the value of the type property of a relationComplete event object (note: relation() is only available with ArcGIS Server 9.3 Service Pack 1 or above).
GeometryServiceEvent
  SIMPLIFY_COMPLETE : String = "simplifyComplete"
[static] Defines the value of the type property of a simplifyComplete event object.
GeometryServiceEvent
Property detail
arealengthsproperty
public var arealengths:Object

An object with arrays of "areas" and "lengths" as calculated by areasAndLengths() in GeometryService.

graphicsproperty 
public var graphics:Array

Array of graphics as calculated by buffer(), project(), simplify() or labelPoints() in GeometryService.

See also

lengthsproperty 
public var lengths:Array

Array of "lengths" as calculated by lengths() in GeometryService.

relationsproperty 
public var relations:Array

Array of "relations" as calculated by relation() in GeometryService.

Constructor detail
GeometryServiceEvent()constructor
public function GeometryServiceEvent(type:String, graphics:Array = null, lengths:Array = null, arealengths:Object = null, relations:Array = null)

Creates a new GeometryServiceEvent.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
graphics:Array (default = null) — Array of Graphic.
 
lengths:Array (default = null)
 
arealengths:Object (default = null)
 
relations:Array (default = null)
Constant detail
AREA_LENGTHS_COMPLETEconstant
public static const AREA_LENGTHS_COMPLETE:String = "arealengthsComplete"

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

BUFFER_COMPLETEconstant 
public static const BUFFER_COMPLETE:String = "bufferComplete"

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

LABEL_POINTS_COMPLETEconstant 
public static const LABEL_POINTS_COMPLETE:String = "labelPointsComplete"

Defines the value of the type property of a labelPointsComplete event object (note: labelPoints() is only available with ArcGIS Server 9.3 Service Pack 1 or above).

LENGTHS_COMPLETEconstant 
public static const LENGTHS_COMPLETE:String = "lengthsComplete"

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

PROJECT_COMPLETEconstant 
public static const PROJECT_COMPLETE:String = "projectComplete"

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

RELATION_COMPLETEconstant 
public static const RELATION_COMPLETE:String = "relationComplete"

Defines the value of the type property of a relationComplete event object (note: relation() is only available with ArcGIS Server 9.3 Service Pack 1 or above).

SIMPLIFY_COMPLETEconstant 
public static const SIMPLIFY_COMPLETE:String = "simplifyComplete"

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