| Package | com.esri.aws.awx.map.layers.overlays |
| Class | public dynamic class Polygon |
| Inheritance | Polygon OverlayObject mx.core.UIComponent |
See also
| Property | Defined by | ||
|---|---|---|---|
| geoPoints : Array
The array of GeoPoint locations that defines the polygon.
| Polygon | ||
![]() | overlayStyle : IStyle
The style of the overlay object.
| OverlayObject | |
![]() | shape : IShape
The shape of the overlay object.
| OverlayObject | |
![]() | style : IStyle
DEPRECATED
| OverlayObject | |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new Polygon with the given PolygonShape, and an optional style.
| Polygon | ||
|
addGeoPoint(geoPoint:GeoPoint):void
Adds a new GeoPoint to the shape.
| Polygon | ||
|
addGeoPointArray(geoPoints:Array):void
Adds a new set of GeoPoints to the shape.
| Polygon | ||
![]() |
removeAllChildren():void
Removes all children from the child list of this container.
| OverlayObject | |
| geoPoints | property |
public var geoPoints:ArrayThe array of GeoPoint locations that defines the polygon.
This property can be used as the source for data binding.
| Polygon | () | constructor |
public function Polygon(shape:PolygonShape = null, style:IStyle = null)Creates a new Polygon with the given PolygonShape, and an optional style.
Parametersshape:PolygonShape (default = null) — The polygon geometry
|
|
style:IStyle (default = null) — The style used to render the polygon
|
| addGeoPoint | () | method |
public function addGeoPoint(geoPoint:GeoPoint):voidAdds a new GeoPoint to the shape.
ParametersgeoPoint:GeoPoint — the new GeoPoint to add.
|
| addGeoPointArray | () | method |
public function addGeoPointArray(geoPoints:Array):voidAdds a new set of GeoPoints to the shape.
ParametersgeoPoints:Array — array of GeoPoints to add.
|