TdxMapItem Class
A generic map item.
Declaration
TdxMapItem = class(
TcxComponentCollectionItem
)
Remarks
This is the base class for classes implementing various map items including:
Dots (TdxMapDot)
Pushpins (TdxMapPushpin)
Rectangles (TdxMapRectangle)
Ellipses (TdxMapEllipse)
Polylines (TdxMapPolyline)
Polygons (TdxMapPolygon)
Paths (TdxMapPath)
Custom elements (TdxMapCustomElement).
Vector items are perfect for pinpointing specific locations on a map, while custom elements help you add image and text overlays. TdxMapItem implements the essential functionality that is common to all these map items, allowing you to:
Switch the map item’s visibility and selected state (Visible and Selected);
Specify the hint message or ScreenTip for the map item (Hint and ScreenTip);
Assign appearance settings for various item states (Style, StyleHot, and StyleSelected);
Store arbitrary data with the map item (Attributes);
Switch the visibility and customize the text of the map item’s title (TitleOptions).