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

Package | org.openscales.component.control
Class | public class FeatureInfo
Inheritance | FeatureInfo Control mx.containers.Canvas

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined by
--- | --- | ---
|  | active : Boolean | Control
|  | currentPoint : Point Params currentPoint : keep the current point in Path or polygon lastP : To prevent to show the same point twice (because of LineString) | FeatureInfo
|  | fxmap : FxMap | Control
|  | lastP : Point | FeatureInfo
|  | map : Map [write-only] Map setter | FeatureInfo
|  | position : Pixel | Control

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
|  | showInfo(feature:Feature):void Method which display the feature properties. | FeatureInfo

Protected Methods
Hide Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined by
--- | --- | ---
|  | 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

currentPoint | property

`public var currentPoint:Point`

Params currentPoint : keep the current point in Path or polygon lastP : To prevent to show the same point twice (because of LineString)

lastP | property |

`public var lastP:Point`

map | property |

`map:Map` [write-only]

Map setter

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

showInfo | () | method

`public function showInfo(feature:Feature):void`

Method which display the feature properties. We differenciate information with the feature : with a point, we only have to show its name and Lon/Lat. with path, its name and all coordinates of each point in the path with polygon, same as path

Parameters

| `feature:Feature`