Table of Contents

ITMSFNCCustomDirectionsProperties.GetGoogleRoutesOptions Method

Builds provider-specific options for route requests that use the Google Routes format.

API unit family: TMSFNCDirections Declaring type: ITMSFNCCustomDirectionsProperties

Syntax

function GetGoogleRoutesOptions(var AOptions: string; ATravelMode: TTMSFNCDirectionsTravelMode; AWayPoints: TTMSFNCMapsCoordinateRecArray; AWayPointsList: TStringList; AOptimizeWayPoints: Boolean): string;

Parameters

Name Description
AOptions Option text to update.
ATravelMode Travel mode for the route.
AWayPoints Waypoint coordinate array.
AWayPointsList Waypoint text list.
AOptimizeWayPoints When True, waypoint order may be optimized by the provider.

Returns

The updated option text.