Table of Contents

TTMSFNCDirections.GetDirectionsResult Method

Starts an asynchronous directions request and returns the parsed result.

API unit family: TMSFNCDirections Declaring type: TTMSFNCDirections Inherited from: TTMSFNCCustomDirections

Syntax

procedure GetDirectionsResult;

Parameters

Name Description
AOrigin Origin address or coordinate for the route.
ADestination Destination address or coordinate for the route.
ACallback Callback invoked when the operation completes.
AID Caller-defined request identifier.
ADataPointer Caller-defined pointer stored with the request.
AAlternatives When True, alternative routes are requested when supported by the provider.
ATravelMode Travel mode for the route request.
AWayPoints Waypoint list or coordinate array included in the route request.
AOptimizeWayPoints Waypoint list or coordinate array included in the route request.
ALocale Locale used for provider instructions and responses.
AMode Locale handling mode for the request.
AAvoidTolls When True, toll roads are avoided when supported by the provider.
AAvoidHighways When True, highways are avoided when supported by the provider.