Table of Contents

TTMSFNCDirections Class

Component that requests routes from supported directions providers.

API unit family: TMSFNCDirections Inherits from: TTMSFNCCustomDirections

Syntax

TTMSFNCDirections = class(TTMSFNCCustomDirections)

Properties

Name Description
APIKey Specifies the API key used for directions service requests. (inherited from TTMSFNCCustomDirections)
DirectionsInstance Exposes the active directions provider instance. (inherited from TTMSFNCCustomDirections)
DirectionsProperties Exposes the properties shared with the directions provider. (inherited from TTMSFNCCustomDirections)
DirectionsRequests Provides the collection of directions requests and responses. (inherited from TTMSFNCCustomDirections)
Service Specifies the directions provider service. (inherited from TTMSFNCCustomDirections)
UseGoogleRoutes Specifies whether Google Routes API mode is used. When True, Google requests use the Routes API format. (inherited from TTMSFNCCustomDirections)

Methods

Name Description
GetDirections Starts an asynchronous directions request. (inherited from TTMSFNCCustomDirections)
GetDirectionsResult Starts an asynchronous directions request and returns the parsed result. (inherited from TTMSFNCCustomDirections)
SaveToGPXFile Writes route coordinates to a GPX file. (inherited from TTMSFNCCustomDirections)
SaveToGPXStream Writes route coordinates to a GPX stream. (inherited from TTMSFNCCustomDirections)
SaveToGPXText Returns route coordinates as GPX text. (inherited from TTMSFNCCustomDirections)

Events

Name Description
OnGetDirections Occurs when a directions request completes. (inherited from TTMSFNCCustomDirections)
OnGetDirectionsResult Occurs when a parsed directions result is available. (inherited from TTMSFNCCustomDirections)