Packagecom.esri.aws.awx.events
Classpublic class MapTypeChangeEvent
InheritanceMapTypeChangeEvent Inheritance flash.events.Event

A MapTypeChangeEvent is dispatched when the Map.mapType has changed.

See also

com.esri.aws.awx.map.Map


Public Properties
 PropertyDefined by
  map : IMap
The map whose mapType is being changed.
MapTypeChangeEvent
  mapTypeFrom : String
The old mapType value.
MapTypeChangeEvent
  mapTypeTo : String
The new mapType value.
MapTypeChangeEvent
Public Methods
 MethodDefined by
  
MapTypeChangeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, map:IMap = null, mapTypeFrom:String = null, mapTypeTo:String = null)
Creates a new MapTypeChangeEvent.
MapTypeChangeEvent
Public Constants
 ConstantDefined by
  MAP_TYPE_CHANGE : String = "mapTypeChange"
[static] Used to detect when the mapType has been changed.
MapTypeChangeEvent
Property detail
mapproperty
public var map:IMap

The map whose mapType is being changed.

mapTypeFromproperty 
public var mapTypeFrom:String

The old mapType value.

mapTypeToproperty 
public var mapTypeTo:String

The new mapType value.

Constructor detail
MapTypeChangeEvent()constructor
public function MapTypeChangeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, map:IMap = null, mapTypeFrom:String = null, mapTypeTo:String = null)

Creates a new MapTypeChangeEvent.

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.
 
map:IMap (default = null)
 
mapTypeFrom:String (default = null)
 
mapTypeTo:String (default = null)
Constant detail
MAP_TYPE_CHANGEconstant
public static const MAP_TYPE_CHANGE:String = "mapTypeChange"

Used to detect when the mapType has been changed.