Table of Contents

TTMSFNCMaps.SaveToGPXFile Method

Exports coordinates and optional metadata to GPX content.

API unit family: TMSFNCMaps Declaring type: TTMSFNCMaps Inherited from: TTMSFNCCustomMaps

Overloads

Overload 1

Exports coordinates and optional metadata to GPX content.

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

Remarks

Import and export workflows usually need guide snippets for provider setup, styling, and event handling.

Parameters

Name Description
ACoordinates Coordinate value used by the operation.
AFileName Path of the file to read or write.

Overload 2

Exports coordinates and optional metadata to GPX content.

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

Remarks

Import and export workflows usually need guide snippets for provider setup, styling, and event handling.

Parameters

Name Description
ACoordinates Coordinate value used by the operation.
AFileName Path of the file to read or write.
AMetaData Metadata written to the exported data.
AWayPoints Waypoint records written to the exported data.

Overload 3

Exports coordinates and optional metadata to GPX content.

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

Remarks

Import and export workflows usually need guide snippets for provider setup, styling, and event handling.

Parameters

Name Description
ACoordinates Coordinate value used by the operation.
AFileName Path of the file to read or write.
AEncoding Encoding used to read or write text content.

Overload 4

Exports coordinates and optional metadata to GPX content.

procedure SaveToGPXFile(ACoordinates: TTMSFNCMapsCoordinateRecArray; AFileName: string; AEncoding: TEncoding; AMetaData: TTMSFNCMapsGPXMetaData; AWayPoints: TTMSFNCMapsGPXWayPointRecArray = nil); overload; virtual;

Remarks

Import and export workflows usually need guide snippets for provider setup, styling, and event handling.

Parameters

Name Description
ACoordinates Coordinate value used by the operation.
AFileName Path of the file to read or write.
AEncoding Encoding used to read or write text content.
AMetaData Metadata written to the exported data.
AWayPoints Waypoint records written to the exported data.