Packageorg.openscales.core.control
Classpublic class OverviewMap
InheritanceOverviewMap Inheritance Control Inheritance flash.display.Sprite

Display an overview of the current map and position.



Public Properties
 PropertyDefined By
 Inheritedactive : Boolean
Control
  extentColor : uint
[write-only] set the overview rectangle color
OverviewMap
  height : Number
[override] [write-only]
OverviewMap
 InheritedisReduced : Boolean
Indicates if the control display is normal or reduced
Control
  map : Map
[override]
OverviewMap
  newExtentColor : uint
[write-only] set color of the rectangle drawn by the user to change extent
OverviewMap
  OverViewSize : Size
[write-only] return the size of the overview
OverviewMap
 Inheritedposition : Pixel
Control
  projection : ProjProjection
Private
OverviewMap
  size : Size
[write-only]
OverviewMap
  width : Number
[override] [write-only]
OverviewMap
Protected Properties
 PropertyDefined By
 Inherited_active : Boolean = false
Control
 Inherited_isReduced : Boolean
Control
 Inherited_map : Map = null
Control
Public Methods
 MethodDefined By
  
OverviewMap(position:Pixel = null)
OverviewMap
  
addLayer(value:Layer):void
OverviewMap
 Inherited
destroy():void
Control
  
draw():void
[override]
OverviewMap
 Inherited
to be overrided in sub classes
Control
  
OverviewMap
  
removeLayer(value:Layer):void
OverviewMap
 Inherited
resize(event:MapEvent):void
Control
 Inherited
toggleDisplay(event:Event = null):void
Control
Property Detail
extentColorproperty
extentColor:uint  [write-only]

set the overview rectangle color


Implementation
    public function set extentColor(value:uint):void
heightproperty 
height:Number  [write-only] [override]


Implementation
    public function set height(value:Number):void
mapproperty 
map:Map[override]


Implementation
    public function get map():Map
    public function set map(value:Map):void
newExtentColorproperty 
newExtentColor:uint  [write-only]

set color of the rectangle drawn by the user to change extent


Implementation
    public function set newExtentColor(value:uint):void
OverViewSizeproperty 
OverViewSize:Size  [write-only]

return the size of the overview


Implementation
    public function set OverViewSize(value:Size):void
projectionproperty 
projection:ProjProjection

Private


Implementation
    public function get projection():ProjProjection
    public function set projection(value:ProjProjection):void
sizeproperty 
size:Size  [write-only]


Implementation
    public function set size(value:Size):void
widthproperty 
width:Number  [write-only] [override]


Implementation
    public function set width(value:Number):void
Constructor Detail
OverviewMap()Constructor
public function OverviewMap(position:Pixel = null)



Parameters
position:Pixel (default = null)
Method Detail
addLayer()method
public function addLayer(value:Layer):void

Parameters

value:Layer

draw()method 
override public function draw():void

removeAllLayers()method 
public function removeAllLayers():void

removeLayer()method 
public function removeLayer(value:Layer):void

Parameters

value:Layer