TECShapePolygone descends from TECShapeLine and allows to display on your map polygons.
In addition to the properties of TECShapeLine you have access to
Property Area : double
Surface Km²
property FillColor : TColor
Fill color
Property Color : TColor
The border color
property Style : TBrushStyle
Fill style (bsSolid, bsClear, bsHorizontal, bsVertical,
bsFDiagonal, bsBDiagonal, bsCross, bsDiagCross)
Style does not work under Firemonkey, use BrushFilename to indicate an image that will fill your polygon, BrushFilename can be either a local path or a url or an encoded as base64 for image, like Marker.Filename
1
Opacity of the polygon (0 = fully transparent, 100 =
opaque)
property Level : integer
Height in metres of the polygon for a display in pseudo
3D
OnAfterDraw
You also have an OnAfterDraw event that allows you to draw on top your polygon, example to include its description.