Table of Contents

TTMSFNCCustomMaps.SaveToGPXStream Method

Exports coordinates and optional metadata to GPX content.

API unit family: TMSFNCMaps Declaring type: TTMSFNCCustomMaps

Overloads

Overload 1

Exports coordinates and optional metadata to GPX content.

procedure SaveToGPXStream(ACoordinates: TTMSFNCMapsCoordinateRecArray; AStream: TStream); 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.
AStream Stream to read from or write to.

Overload 2

Exports coordinates and optional metadata to GPX content.

procedure SaveToGPXStream(ACoordinates: TTMSFNCMapsCoordinateRecArray; AStream: TStream; 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.
AStream Stream to read from or write to.
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 SaveToGPXStream(ACoordinates: TTMSFNCMapsCoordinateRecArray; AStream: TStream; 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.
AStream Stream to read from or write to.
AEncoding Encoding used to read or write text content.

Overload 4

Exports coordinates and optional metadata to GPX content.

procedure SaveToGPXStream(ACoordinates: TTMSFNCMapsCoordinateRecArray; AStream: TStream; 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.
AStream Stream to read from or write to.
AEncoding Encoding used to read or write text content.
AMetaData Metadata written to the exported data.
AWayPoints Waypoint records written to the exported data.