| Package | com.esri.aws.awx.map |
| Interface | public interface IMap extends flash.events.IEventDispatcher, IProjectionModel, IGroupLayer, ILayer, flash.events.IEventDispatcher |
| Implementors | Map |
| Property | Defined by | ||
|---|---|---|---|
![]() | alpha : Number
The transparency value of the layer.
| ILayer | |
![]() | center : GeoPoint
The geographic center of the map.
| IProjectionModel | |
![]() | editable : Boolean
If true, the group layer is editable so all of the manipulation methods with throw an error.
| IGroupLayer | |
![]() | extent : Extent
The bounding box (minX, minY, maxX, maxY) of the current map.
| IProjectionModel | |
![]() | icon : Class
The icon that represents this layer.
| ILayer | |
![]() | id : String
The layer identifier.
| ILayer | |
| keyboardHandler : IKeyboardHandler
The keyboard handler that should handle all keyboard interactions with the map.
| IMap | ||
![]() | label : String
The label of the layer.
| ILayer | |
![]() | layers : Array
The layers in this group layer.
| IGroupLayer | |
![]() | layerStyle : IStyle
The style of the layer.
| ILayer | |
![]() | map : IMap
The reference to the parent map container.
| ILayer | |
| mapHeight : Number [read-only]
The map height in pixels.
| IMap | ||
![]() | mapRotation : Number
The rotation of the map.
| IProjectionModel | |
| mapType : String
The name of the map type.
| IMap | ||
| mapWidth : Number [read-only]
The map width in pixels.
| IMap | ||
| maxScale : Number
The maximum allowed scale.
| IMap | ||
| minScale : Number
The minimum allowed scale.
| IMap | ||
| mouseHandler : IMouseHandler
The mouse handler that should handle all mouse interactions with the map.
| IMap | ||
![]() | numLayers : int
The number of layers in the group.
| IGroupLayer | |
![]() | projectionID : int
The current projectionID of the map.
| IProjectionModel | |
| rotatedHeight : Number [read-only]
The rotated map height in pixels.
| IMap | ||
| rotatedWidth : Number [read-only]
The rotated map width in pixels.
| IMap | ||
![]() | scale : Number
The current scale of the map.
| IProjectionModel | |
| staticLayer : IStaticLayer
[read-only]
The main Static Layer (an IStaticLayer) onto which Static objects can be placed.
| IMap | ||
![]() | style : IStyle
DEPRECATED
| ILayer | |
![]() | supportedProjections : Array
The array of supported projections for this groupLayer.
| ILayer | |
![]() | visible : Boolean
If true, the layer is visible.
| ILayer | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
Adds a layer to the group layer.
| IGroupLayer | |
![]() |
addLayerAt(layer:ILayer, index:int):void
Adds a layer at a specific index.
| IGroupLayer | |
|
convertExtentToScale(extent:Extent):Number
Returns a scale to ensure that an entire extent is visible.
| IMap | ||
![]() |
convertGeoPointToPoint(geoPoint:GeoPoint):Point
Converts decimal degree values to pixel.
| IProjectionModel | |
![]() |
convertPointToGeoPoint(point:Point):GeoPoint
Converts pixel values to decimal degrees.
| IProjectionModel | |
![]() |
Gets a layer based on its identifier.
| IGroupLayer | |
![]() |
getUIComponent():UIComponent
The layer's UIComponent.
| ILayer | |
![]() |
moveLayerAbove(layer1ID:String, layer2ID:String):void
Moves the first layer above the the second layer in the z-order.
| IGroupLayer | |
![]() |
moveLayerBelow(layer1ID:String, layer2ID:String):void
Moves the first layer below the the second layer in the z-order.
| IGroupLayer | |
![]() |
moveLayerToBottom(layerID:String):void
Moves the layer to the bottom of the z-order.
| IGroupLayer | |
![]() |
moveLayerToTop(layerID:String):void
Moves the layer to the top of the z-order.
| IGroupLayer | |
![]() |
removeAllLayers():void
Removes all the layers.
| IGroupLayer | |
![]() |
removeLayer(layerID:String):void
Removes a layer.
| IGroupLayer | |
![]() |
resolveAutomaticProjection():Number
If the current projection is 'Automatic', returns the projectionID for which automatic projection is currently selected.
| IProjectionModel | |
|
showWorld():void
Shows the world based on the height and width of the map.
| IMap | ||
![]() |
swapLayers(layer1ID:String, layer2ID:String):void
Swaps the z-order of two layers.
| IGroupLayer | |
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched after a child has been added to a container. | IMap | |||
| Dispatched before a child of a container is removed. | IMap | |||
A layer has been moved within a GroupLayer. | IMap | |||
| Used to detect when the map model has been changed. | IMap | |||
| Used to detect when the mapType has been changed. | IMap | |||
| The map is starting to pan. | IMap | |||
| The map is finished panning. | IMap | |||
| keyboardHandler | property |
keyboardHandler:IKeyboardHandler [read-write]The keyboard handler that should handle all keyboard interactions with the map.
Implementation public function get keyboardHandler():IKeyboardHandler
public function set keyboardHandler(value:IKeyboardHandler):void
| mapHeight | property |
mapHeight:Number [read-only]The map height in pixels.
Implementation public function get mapHeight():Number
| mapType | property |
mapType:String [read-write]The name of the map type.
Implementation public function get mapType():String
public function set mapType(value:String):void
| mapWidth | property |
mapWidth:Number [read-only]The map width in pixels.
Implementation public function get mapWidth():Number
| maxScale | property |
maxScale:Number [read-write]The maximum allowed scale. Only used if greater than 1.0.
The default value is 0.0.
public function get maxScale():Number
public function set maxScale(value:Number):void
| minScale | property |
minScale:Number [read-write]The minimum allowed scale. Can not be lower than 1.0.
The default value is 1.0.
public function get minScale():Number
public function set minScale(value:Number):void
| mouseHandler | property |
mouseHandler:IMouseHandler [read-write]The mouse handler that should handle all mouse interactions with the map.
Implementation public function get mouseHandler():IMouseHandler
public function set mouseHandler(value:IMouseHandler):void
| rotatedHeight | property |
rotatedHeight:Number [read-only]The rotated map height in pixels.
Implementation public function get rotatedHeight():Number
| rotatedWidth | property |
rotatedWidth:Number [read-only]The rotated map width in pixels.
Implementation public function get rotatedWidth():Number
| staticLayer | property |
staticLayer:IStaticLayer [read-only]The main Static Layer (an IStaticLayer) onto which Static objects can be placed.
Implementation public function get staticLayer():IStaticLayer
| convertExtentToScale | () | method |
public function convertExtentToScale(extent:Extent):NumberReturns a scale to ensure that an entire extent is visible.
Parametersextent:Extent — the extent to get a scale for.
|
Number — The scale factor.
|
| showWorld | () | method |
public function showWorld():voidShows the world based on the height and width of the map.
| childAdd | event |
mx.events.ChildExistenceChangedEvent
Dispatched after a child has been added to a container.
The childAdd event is dispatched when the addChild()
or addChildAt() method is called.
When a container is first created, the addChild()
method is automatically called for each child component declared
in the MXML file.
The addChildAt() method is automatically called
whenever a Repeater object adds or removes child objects.
The application developer may also manually call these
methods to add new children.
At the time when this event is sent, the child object has been
initialized, but its width and height have not yet been calculated,
and the child has not been drawn on the screen.
If you want to be notified when the child has been fully initialized
and rendered, then register as a listener for the child's
creationComplete event.
| childRemove | event |
mx.events.ChildExistenceChangedEvent
Dispatched before a child of a container is removed.
This event is delivered when any of the following methods are called:
removeChild(), removeChildAt(),
or removeAllChildren().
| groupLayerChange | event |
com.esri.aws.awx.events.GroupLayerEvent
com.esri.aws.awx.events.GroupLayerEvent.GROUPLAYER_CHANGE
A layer has been moved within a GroupLayer.
| mapChange | event |
com.esri.aws.awx.events.MapChangeEvent
com.esri.aws.awx.events.MapChangeEvent.MAP_CHANGE
Used to detect when the map model has been changed.
| mapTypeChange | event |
com.esri.aws.awx.events.MapTypeChangeEvent
com.esri.aws.awx.events.MapTypeChangeEvent.MAP_TYPE_CHANGE
Used to detect when the mapType has been changed.
| panStart | event |
com.esri.aws.awx.events.PanEvent
com.esri.aws.awx.events.PanEvent.PAN_START
The map is starting to pan.
| panStop | event |
com.esri.aws.awx.events.PanEvent
com.esri.aws.awx.events.PanEvent.PAN_STOP
The map is finished panning.