| Package | com.esri.aws.awx.map.layers.overlays |
| Class | public dynamic class Polyline |
| Inheritance | Polyline OverlayObject mx.core.UIComponent |
See also
| Property | Defined by | ||
|---|---|---|---|
| geoPoints : Array
The array lat/lon locations.
| Polyline | ||
![]() | 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 Polyline.
| Polyline | ||
|
addGeoPoint(geoPoint:GeoPoint):void
Adds a new GeoPoint to the shape.
| Polyline | ||
|
addGeoPointArray(geoPoints:Array):void
Adds a new set of GeoPoints to the shape.
| Polyline | ||
![]() |
removeAllChildren():void
Removes all children from the child list of this container.
| OverlayObject | |
| geoPoints | property |
public var geoPoints:ArrayThe array lat/lon locations.
This property can be used as the source for data binding.
| Polyline | () | constructor |
public function Polyline(shape:PolylineShape = null, style:IStyle = null)Creates a new Polyline.
Parametersshape:PolylineShape (default = null) — The polyline geometry
|
|
style:IStyle (default = null) — The style used to render the polyline
|
| 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.
|