TTMSFNCMapsPolyElement Class
Defines shared styling and geometry behavior for map line and area elements.
API unit family: TMSFNCMaps
Inherits from: TCollectionItem
Syntax
TTMSFNCMapsPolyElement = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| DataBoolean | Custom application data associated with the item. |
| DataInteger | Custom application data associated with the item. |
| DataObject | Custom application data associated with the item. |
| DataPointer | Custom application data associated with the item. |
| DataString | Custom application data associated with the item. |
| ID | Unique identifier assigned to the map element. |
| Recreate | Specifies whether the item must be recreated on the next map update. Set to True to recreate it. |
| StrokeColor | Stroke Color used when rendering the element. |
| StrokeOpacity | Stroke Opacity applied to the rendered element. |
| StrokeWidth | Stroke Width value. |
| Visible | Specifies whether the item is displayed on the map. |
Methods
| Name | Description |
|---|---|
| Area | Calculates the area of the element in square meters. |
| ContainsPoint | Returns whether the coordinate lies inside the element. |