TTMSFNCDirectionsLeg Class
Represents a leg between two route points in a directions result.
API unit family: TMSFNCDirections
Inherits from: TCollectionItem
Syntax
TTMSFNCDirectionsLeg = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| Coordinates | Contains the coordinates for the route section. |
| DataBoolean | Stores custom Boolean data associated with the item. When True, the caller-defined flag is set. |
| DataInteger | Stores custom integer data associated with the item. |
| DataObject | Stores a custom object reference associated with the item. |
| DataPointer | Stores custom pointer data associated with the item. |
| DataString | Stores custom string data associated with the item. |
| Distance | Specifies the reported distance for the route section. |
| Duration | Specifies the reported travel duration in seconds. |
| EndAddress | Specifies the ending address reported for the route leg. |
| EndLocation | Specifies the ending coordinate. |
| StartAddress | Specifies the starting address reported for the route leg. |
| StartLocation | Specifies the starting coordinate. |
| Steps | Provides the detailed route steps. |