AtlasCT.com
User Manual v5.0

Polyline

Inheritance: Shape > Poly > Polyline

The Polyline class is used to draw a polyline on the map.
The Polyline class is based on the Shape and Poly classes, and in order to add a polyline on the map you should add the polyline object to the map’s LayersManager object.

See on the examples page Use shapes -> Add polyline to map


Summary
Inheritance: Shape > Poly > Polyline
The Polyline constructor.

Constructors

Polyline

Polyline(string id
Array[] Coordinate verticesList
LineStyle lineStyle
string label
string hint
boolean isVisible
boolean isLabelVisible)

The Polyline constructor.

Parameters

idThe id of the polyline.
verticesListArray of coordinates.
lineStyleThe line style of the polyline.
labelThe label of the polyline.
hintThe hint of the polyline.
isVisibleDetermine if the polyline is visible.
isLabelVisibleDetermine if the label of the polyline is visible.
The Shape class is used to define a shape (Marker, Polygon, Polyline, Circle) to be drawn on the map.
In order to add any shape on the map you should add the shape object to the map’s LayersManager object.

Inheritance: Shape > Poly
Polyline(string id
Array[] Coordinate verticesList
LineStyle lineStyle
string label
string hint
boolean isVisible
boolean isLabelVisible)
The Polyline constructor.
Inheritance: Layer > LayersCollection > LayersManager
This is the base class of the provided coordinates classes.
This class defines a line style.