Table of Contents

ITMSFNCCustomDirections.GetPath Method

Builds the provider request path for a directions query.

API unit family: TMSFNCDirections Declaring type: ITMSFNCCustomDirections

Syntax

function GetPath(AOrigin, ADestination: string; AOriginLatitude, AOriginLongitude, ADestinationLatitude, ADestinationLongitude: Double; ATravelMode: TTMSFNCDirectionsTravelMode; AWayPoints: TTMSFNCMapsCoordinateRecArray = nil): string;

Parameters

Name Description
AOrigin Origin address or coordinate for the route.
ADestination Destination address or coordinate for the route.
AOriginLatitude Latitude value for the coordinate.
AOriginLongitude Longitude value for the coordinate.
ADestinationLatitude Latitude value for the coordinate.
ADestinationLongitude Longitude value for the coordinate.
ATravelMode Travel mode for the route request.
AWayPoints Waypoint list or coordinate array included in the route request.

Returns

The request path.