<< Click to Display Table of Contents >>
Polyline (pMapBase)
Description
To create polyline geometry object.
Position
Geometry.js
Parameters
Parameter |
Description |
pMapBase |
The main map object |
Properties
Property |
Description |
none |
none |
Methods
Method |
Description |
getExtent() |
To get the extent of polyline geometry object. |
AddPoint(addpt) |
To add the node of polyline geometry object. |
InsertPoint(index, addpt) |
To insert the node of polyline geometry object. |
MovePoint(index, ptPos) |
To pan the node of polyline geometry object. |
RemovePoint(nIndex) |
To remove the node of polyline geometry object. |
putLineColor(linecolor) |
To set the line color of polyline geometry object. |
putNodeColor(nodecolor) |
To set the node color of polyline geometry object. |
putLineWidth(linesize) |
To set the line width of polyline geometry object. |
ParseWKT(strPts) |
To interpret WKT. |
WellKnownText() |
WKT |
getLength() |
To get the length of polyline geometry object. |
RebuildElement() |
To rebuild the map element of polyline geometry object. |
UpdateElement() |
To update the map element of polyline geometry object. |
Editable(v) |
To set the node editable or not. |
Destroy() |
To close and destroy polyline geometry object. |
©2015 Supergeo Technologies Inc.