TTMSFNCMapKitDirectionsItem Class
Represents one directions request and its display settings.
API unit family: TMSFNCMapKit
Inherits from: TCollectionItem
Syntax
TTMSFNCMapKitDirectionsItem = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| DataBoolean | Stores custom Boolean data associated with the directions item. |
| DataInteger | Stores custom integer data associated with the directions item. |
| DataObject | Stores a custom object reference associated with the directions item. |
| DataPointer | Stores custom pointer data associated with the directions item. |
| DataString | Stores custom text data associated with the directions item. |
| Destination | Specifies the textual destination address or place name. |
| DestinationCoordinate | Specifies the destination coordinate when the route ends at a geographic position. |
| ID | Returns the generated identifier used for the directions item. |
| Origin | Specifies the textual origin address or place name. |
| OriginCoordinate | Specifies the origin coordinate when the route starts from a geographic position. |
| Recreate | Indicates whether the directions layer should be recreated. |
| ShowMarkers | Controls whether origin and destination markers are shown for the route. |
| ShowPolyline | Controls whether the route polyline is shown on the map. |
| StrokeColor | Specifies the color used to draw the route polyline. |
| StrokeOpacity | Specifies the opacity used to draw the route polyline. |
| StrokeWidth | Specifies the width used to draw the route polyline. |
| TravelMode | Specifies the travel mode used for route calculation. |