vcl-dxmapitem-0019a3ff.md
A map polygon.
TdxMapPolygon = class(
TdxMapCustomMultiPointItem
)
The TdxMapPolygon class has members that allow you to do the following:
Manage polygon vertexes (GeoPoints).
Switch the map polygon’s visibility and selected state (Visible and Selected).
Specify the hint message or ScreenTip for the map polygon (Hint and ScreenTip).
Customize appearance settings for various states (Style, StyleHot, and StyleSelected).
Store arbitrary data with the map polygon (Attributes).
Set the map polygon’s title and customize its appearance (TitleOptions).
Tip
Call a map item layer‘s AddItem function and pass a reference to the TdxMapPolygon class to create a map polygon.
TObject TPersistent TComponent TcxCustomComponent TcxComponentCollectionItem TdxMapItem TdxMapCustomMultiPointItem TdxMapPolygon
See Also