Table of Contents

TTMSFNCDirections.SaveToGPXFile Method

Writes route coordinates to a GPX file.

API unit family: TMSFNCDirections Declaring type: TTMSFNCDirections Inherited from: TTMSFNCCustomDirections

Overloads

Overload 1

Writes route coordinates to a GPX file.

procedure SaveToGPXFile(ACoordinates: TTMSFNCMapsCoordinateRecArray; AFileName: string; AInstructions: TTMSFNCDirectionsSteps = nil); overload; virtual;

Parameters

Name Description
ACoordinates Coordinate or coordinate array used by the operation.
AFileName File name or path used by the operation.
AInstructions Optional route instructions included in the generated GPX content.

Overload 2

Writes route coordinates to a GPX file.

procedure SaveToGPXFile(ACoordinates: TTMSFNCMapsCoordinateRecArray; AFileName: string; AMetaData: TTMSFNCMapsGPXMetaData; AInstructions: TTMSFNCDirectionsSteps = nil); overload; virtual;

Parameters

Name Description
ACoordinates Coordinate or coordinate array used by the operation.
AFileName File name or path used by the operation.
AMetaData Metadata included in the generated GPX content.
AInstructions Optional route instructions included in the generated GPX content.