Skip to main content
Table of Contents

ITMSFNCCustomDirectionsProperties.GetTruckOptions Method

Builds provider-specific truck routing options.

API unit family: TMSFNCDirections Declaring type: ITMSFNCCustomDirectionsProperties

Syntax

FMX.TMSFNCDirections.hppPascalC++
function GetTruckOptions(var AOptions: string; AAvoidTolls: Boolean): string;
virtual System::UnicodeString __fastcall GetTruckOptions(System::UnicodeString &AOptions, bool AAvoidTolls) = 0;

Parameters

Name Description
AOptions Option text to update.
AAvoidTolls When True, toll roads are avoided when supported by the provider.

Returns

The updated option text.