Table of Contents

TTMSFNCCustomDirections.GetDirectionsResult Method

Starts an asynchronous directions request and returns the parsed result.

API unit family: TMSFNCDirections Declaring type: TTMSFNCCustomDirections

Overloads

Overload 1

Starts an asynchronous directions request and returns the parsed result.

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.

Overload 2

Starts an asynchronous directions request and returns the parsed result.

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.