Packagecom.esri.aws.awx.events
Classpublic class MapChangeEvent
InheritanceMapChangeEvent Inheritance flash.events.Event

MapChangeEvent objects are dispatched for map changes to the map model, such as panning, change in scale, change in rotation, and change in projection.

See also

com.esri.aws.awx.map.Map


Public Properties
 PropertyDefined by
  center : GeoPoint
Current map center Point (in decimal degrees).
MapChangeEvent
  centerChange : Boolean
MapChangeEvent
  projectionChange : Boolean
MapChangeEvent
  projectionID : int
Current projection ID of the map.
MapChangeEvent
  rotation : Number
Current rotation of the map (in degrees).
MapChangeEvent
  rotationChange : Boolean
MapChangeEvent
  scale : Number
Current scale of the map.
MapChangeEvent
  scaleChange : Boolean
MapChangeEvent
Public Methods
 MethodDefined by
  
MapChangeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new MapChangeEvent.
MapChangeEvent
Public Constants
 ConstantDefined by
  MAP_CHANGE : String = "mapChange"
[static] Used to detect when the map model has been changed.
MapChangeEvent
Property detail
centerproperty
public var center:GeoPoint

Current map center Point (in decimal degrees).

centerChangeproperty 
public var centerChange:Boolean
projectionChangeproperty 
public var projectionChange:Boolean
projectionIDproperty 
public var projectionID:int

Current projection ID of the map.

rotationproperty 
public var rotation:Number

Current rotation of the map (in degrees).

rotationChangeproperty 
public var rotationChange:Boolean
scaleproperty 
public var scale:Number

Current scale of the map.

scaleChangeproperty 
public var scaleChange:Boolean
Constructor detail
MapChangeEvent()constructor
public function MapChangeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new MapChangeEvent.

Parameters
type:String — The type of the event, accessible as Event.type.
 
bubbles:Boolean (default = false) — Determines whether the Event object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false) — Determines whether the Event object can be canceled. The default value is false.
Constant detail
MAP_CHANGEconstant
public static const MAP_CHANGE:String = "mapChange"

Used to detect when the map model has been changed.