| Package | com.esri.aws.awx.events |
| Class | public class MapTypeChangeEvent |
| Inheritance | MapTypeChangeEvent flash.events.Event |
MapTypeChangeEvent is dispatched when the Map.mapType has changed.
See also
| Property | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
MapTypeChangeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, map:IMap = null, mapTypeFrom:String = null, mapTypeTo:String = null)
Creates a new MapTypeChangeEvent.
| MapTypeChangeEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| MAP_TYPE_CHANGE : String = "mapTypeChange" [static] Used to detect when the mapType has been changed.
| MapTypeChangeEvent | ||
| map | property |
public var map:IMapThe map whose mapType is being changed.
| mapTypeFrom | property |
public var mapTypeFrom:StringThe old mapType value.
| mapTypeTo | property |
public var mapTypeTo:StringThe new mapType value.
| 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.
Parameterstype: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) |
| MAP_TYPE_CHANGE | constant |
public static const MAP_TYPE_CHANGE:String = "mapTypeChange"Used to detect when the mapType has been changed.