<< Click to Display Table of Contents >>
Polygon (pMapBase)
Description
To create polygon 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 polygon geometry object. |
getPoints() |
To get the node of polygon geometry object. |
AddPoint(part, addpt) |
To add the node of polygon geometry object. |
InsertPoint(part, index, addpt) |
To insert the node of polygon geometry object. |
MovePoint(part, index, ptPos) |
To move the node of polygon geometry object. |
RemovePoint(part, index) |
To remove the node of polygon geometry object. |
putFillColor(fillcolor) |
To set the color to fill polygon geometry object. |
putNodeColor(nodecolor) |
The color of editing node |
putTransparency(Transparency) |
To set the transparency of polygon geometry object. |
putLineColor(LineColor) |
To set the outline color of polygon geometry object. |
putLineWidth(LineWeight) |
To set the outline width of polygon geometry object. |
ParseWKT (strPts) |
To interpret WKT. |
WellKnownText() |
WKT |
getArea() |
To get the area of polygon geometry object. |
Verify() |
To verify polygon geometry object. |
RebuildElement() |
To rebuild geometry object. |
UpdateElement() |
To update geometry object. |
Editable(v) |
To set the node editable or not. |
Destroy() |
To close and destroy polygon geometry object. |
©2015 Supergeo Technologies Inc.