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

Package | org.openscales.fx
Class | public class FxMap
Inheritance | FxMap mx.core.Container

Public Properties

| Property | Defined by
--- | --- | ---
|  | centerLonLat : String [write-only] Set the center of the map using its longitude and its latitude. | FxMap
|  | height : Number [write-only] | FxMap
|  | map : Map [read-only] | FxMap
|  | maxExtent : String [write-only] | FxMap
|  | proxy : String [write-only] | FxMap
|  | width : Number [write-only] | FxMap
|  | zoom : Number [write-only] | FxMap

Public Methods

| Method | Defined by
--- | --- | ---
|  | FxMap() FxMap constructor | FxMap
|  | addChild(child:DisplayObject):DisplayObject After CreationComplete, addChild is restricted to the insertion of a new FxLayer | FxMap
|  | addChildAt(child:DisplayObject, index:int):DisplayObject After CreationComplete, the insertion order is not managed and addChild is called | FxMap

Events

| Event | Summary | Defined by
--- | --- | --- | ---
|  | openscalesmaploadcomplete |  | FxMap
|  | openscalesmaploadstart | Flex wrapper in order to create OpenScales MXML based applications. | FxMap

Property detail

centerLonLat | property

`centerLonLat:String` [write-only]

Set the center of the map using its longitude and its latitude.

Implementation
`public function set centerLonLat(value:String):void`

height | property |

`height:Number` [write-only]Implementation
`public function set height(value:Number):void`

map | property |

`map:Map` [read-only]Implementation
`public function get map():Map`

maxExtent | property |

`maxExtent:String` [write-only]Implementation
`public function set maxExtent(value:String):void`

proxy | property |

`proxy:String` [write-only]Implementation
`public function set proxy(value:String):void`

width | property |

`width:Number` [write-only]Implementation
`public function set width(value:Number):void`

zoom | property |

`zoom:Number` [write-only]Implementation
`public function set zoom(value:Number):void`
Constructor detail

FxMap | () | constructor

`public function FxMap()`

FxMap constructor

Method detail

addChild | () | method

`public override function addChild(child:DisplayObject):DisplayObject`

After CreationComplete, addChild is restricted to the insertion of a new FxLayer

Parameters

| `child:DisplayObject`

Returns

| `DisplayObject`

addChildAt | () | method |

`public override function addChildAt(child:DisplayObject, index:int):DisplayObject`

After CreationComplete, the insertion order is not managed and addChild is called

Parameters

| `child:DisplayObject`
| `index:int`

Returns

| `DisplayObject`

Event detail

openscalesmaploadcomplete | event

Event object type: `org.openscales.core.events.MapEvent`

openscalesmaploadstart | event |

Event object type: `org.openscales.core.events.MapEvent`

Flex wrapper in order to create OpenScales MXML based applications. It is ready to use after it throw an Event.COMPLETE event.