Table of Contents

TTMSFNCRouteCalculator.SaveToGPXFile Method

Saves a route to a GPX file with default metadata.

API unit family: TMSFNCRoutecalculator Declaring type: TTMSFNCRouteCalculator Inherited from: TTMSFNCCustomRouteCalculator

Overloads

Overload 1

Saves a route to a GPX file with default metadata.

procedure SaveToGPXFile(ARoute: TTMSFNCRouteCalculatorRoute; AFileName: string); overload; virtual;

Parameters

Name Description
ARoute Route used by the operation.
AFileName Destination file path.

Overload 2

Saves a route to a GPX file with explicit metadata.

procedure SaveToGPXFile(ARoute: TTMSFNCRouteCalculatorRoute; AFileName: string; AMetaData: TTMSFNCMapsGPXMetaData); overload; virtual;

Parameters

Name Description
ARoute Route used by the operation.
AFileName Destination file path.
AMetaData Metadata written to the GPX output.

Overload 3

Saves route data to a GPX file.

procedure SaveToGPXFile(ACoordinates: TTMSFNCMapsCoordinateRecArray; AFileName: string); overload; virtual;

Parameters

Name Description
ACoordinates Coordinates used by the operation.
AFileName Destination file path.

Overload 4

Saves route data to a GPX file.

procedure SaveToGPXFile(ACoordinates: TTMSFNCMapsCoordinateRecArray; AFileName: string; AMetaData: TTMSFNCMapsGPXMetaData); overload; virtual;

Parameters

Name Description
ACoordinates Coordinates used by the operation.
AFileName Destination file path.
AMetaData Metadata written to the GPX output.