Packagecom.esri.aws.awx.map.layers.overlays
Classpublic dynamic class Polyline
InheritancePolyline Inheritance OverlayObject Inheritance mx.core.UIComponent

A polyline consists of both a PolylineShape and a style.

See also

com.esri.aws.awx.geom.GeoPoint
com.esri.aws.awx.geom.PolylineShape
com.esri.aws.awx.map.layers.overlays.style.IStyle;


Public Properties
 PropertyDefined by
  geoPoints : Array
The array lat/lon locations.
Polyline
 InheritedoverlayStyle : IStyle
The style of the overlay object.
OverlayObject
 Inheritedshape : IShape
The shape of the overlay object.
OverlayObject
 Inheritedstyle : IStyle
DEPRECATED
OverlayObject
Public Methods
 MethodDefined by
  
Polyline(shape:PolylineShape = null, style:IStyle = null)
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
 Inherited
Removes all children from the child list of this container.
OverlayObject
Property detail
geoPointsproperty
public var geoPoints:Array

The array lat/lon locations.

This property can be used as the source for data binding.

Constructor detail
Polyline()constructor
public function Polyline(shape:PolylineShape = null, style:IStyle = null)

Creates a new Polyline.

Parameters
shape:PolylineShape (default = null) — The polyline geometry
 
style:IStyle (default = null) — The style used to render the polyline
Method detail
addGeoPoint()method
public function addGeoPoint(geoPoint:GeoPoint):void

Adds a new GeoPoint to the shape.

Parameters
geoPoint:GeoPoint — the new GeoPoint to add.
addGeoPointArray()method 
public function addGeoPointArray(geoPoints:Array):void

Adds a new set of GeoPoints to the shape.

Parameters
geoPoints:Array — array of GeoPoints to add.