geometry property
The geometry of the polygon. Setting a new geometry will update the appearance. Gets the current geometry of the polygon.
Implementation
GeoPolygon get geometry;
The geometry of the polygon. Setting a new geometry will update the appearance. Sets a new geometry to update the appearance.
The winding order of the vertices can be in clockwise or counter-clockwise order. It is recomended to provide the outer boundary ordered clockwise and closed.
Note:
- The polygon shape should not cover more than half of the globe, otherwise unexpected results may occur.
- Polygons which are self-intersecting are not supported and may lead to render artifacts.
- The inner boundaries (holes) specified in the GeoPolygon are ignored.
Implementation
set geometry(GeoPolygon value);