Skip to main content
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

FMX.TMSFNCDirections.hppPascalC++
function GetGoogleRoutesOptions(var AOptions: string; ATravelMode: TTMSFNCDirectionsTravelMode; AWayPoints: TTMSFNCMapsCoordinateRecArray; AWayPointsList: TStringList; AOptimizeWayPoints: Boolean): string;
virtual System::UnicodeString __fastcall GetGoogleRoutesOptions(System::UnicodeString &AOptions, TTMSFNCDirectionsTravelMode ATravelMode, TTMSFNCMapsCoordinateRecArray AWayPoints, System::Classes::TStringList* AWayPointsList, bool AOptimizeWayPoints) = 0;

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.