Table of Contents

TTMSFNCRouteCalculatorRoute Class

Represents one calculated route with segments, steps, and summary values.

API unit family: TMSFNCRoutecalculator Inherits from: TCollectionItem

Syntax

TTMSFNCRouteCalculatorRoute = class(TCollectionItem)

Properties

Name Description
Active When True, the route is active and used by route operations.
DataBoolean Stores caller-defined Boolean data. True has the caller-defined meaning.
DataInteger Stores caller-defined integer data.
DataObject Stores caller-defined object data.
DataPointer Stores caller-defined pointer data.
DataString Stores caller-defined string data.
Distance Specifies the route distance in meters.
Duration Specifies the route duration in seconds.
ID Returns or stores the generated identifier.
Polyline Returns the route or segment polyline coordinates.
RouteCalculator Returns the owning route calculator.
RouteName Specifies the route display name.
Segments Provides the route segments.
Steps Provides the directions steps for the route.
WayPoints Specifies intermediate waypoints.

Methods

Name Description
FirstSegment Returns the first segment in the route.
LastSegment Returns the last segment in the route.