API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class OverviewMap

Package | org.openscales.component.control
Class | public class OverviewMap
Inheritance | OverviewMap Control mx.containers.Canvas
Implements | mx.binding.IBindingClient

Default MXML Property `children`

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined by
--- | --- | ---
|  | active : Boolean | Control
|  | children : Array | OverviewMap
|  | fxmap : FxMap | Control
|  | map : Map [write-only] Change the main map associated to the overview, define the event listeners attached to the map and redraw the rectangle that represents the visible extent of the main map. | OverviewMap
|  | minRectPxSize : Number | OverviewMap
|  | newExtentColor : uint | OverviewMap
|  | position : Pixel | Control
|  | rectColor : uint | OverviewMap

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined by
--- | --- | ---
|  | _active : Boolean = false | Control
|  | _fxmap : FxMap = null | Control
|  | _isInitialized : Boolean = false Store if this control have been initialized (Event.COMPLETE has been thrown) | Control
|  | _map : Map = null | Control

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined by
--- | --- | ---
|  | draw():void | Control

Protected Methods
Hide Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined by
--- | --- | ---
|  | commitProperties():void The commit properties phase is the best time to add the children to their intended target | OverviewMap
|  | onCreationComplete(event:Event):void The Flex side of the control has been created, so activate the control if needed and if the map has been set | Control
|  | onFxMapCreationComplete(event:Event):void Flex Map wrapper initialization | Control

Property detail

children | property

`children:Array` [read-write]Implementation
`public function get children():Array`
`public function set children(value:Array):void`

map | property |

`map:Map` [write-only]

Change the main map associated to the overview, define the event listeners attached to the map and redraw the rectangle that represents the visible extent of the main map. If the new map is null, the listeners attached to the previous main map are removed and the rectangle is drawn using the maximum size.

Implementation
`public function set map(value:Map):void`

minRectPxSize | property |

`minRectPxSize:Number` [read-write]Implementation
`public function get minRectPxSize():Number`
`public function set minRectPxSize(value:Number):void`

newExtentColor | property |

`newExtentColor:uint` [read-write]Implementation
`public function get newExtentColor():uint`
`public function set newExtentColor(value:uint):void`

rectColor | property |

`rectColor:uint` [read-write]Implementation
`public function get rectColor():uint`
`public function set rectColor(value:uint):void`
Method detail

commitProperties | () | method

`protected override function commitProperties():void`

The commit properties phase is the best time to add the children to their intended target