Table of Contents

TTMSFNCCustomRouteCalculator.GetDirections Method

Requests route directions between coordinates.

API unit family: TMSFNCRoutecalculator Declaring type: TTMSFNCCustomRouteCalculator

Syntax

procedure GetDirections(AOrigin, ADestination: TTMSFNCMapsCoordinateRec; ACallback: TTMSFNCDirectionsGetDirectionsCallBack = nil; AWayPoints: TTMSFNCMapsCoordinateRecArray = nil; AID: string = ''; ADataPointer: Pointer = nil); virtual;

Parameters

Name Description
AOrigin Origin address or place text.
ADestination Destination address or place text.
ACallback Optional callback invoked when the service response is available.
AWayPoints Optional waypoint coordinates used by the operation.
AID Optional caller-defined request identifier.
ADataPointer Optional caller-defined pointer passed through the request.