TTMSFNCCustomDirections.SaveToGPXStream Method
Writes route coordinates to a GPX stream.
API unit family: TMSFNCDirections
Declaring type: TTMSFNCCustomDirections
Overloads
Overload 1
Writes route coordinates to a GPX stream.
procedure SaveToGPXStream(ACoordinates: TTMSFNCMapsCoordinateRecArray; AStream: TStream; AInstructions: TTMSFNCDirectionsSteps = nil); overload; virtual;
Parameters
| Name | Description |
|---|---|
ACoordinates |
Coordinate or coordinate array used by the operation. |
AStream |
Stream that receives the generated data. |
AInstructions |
Optional route instructions included in the generated GPX content. |
Overload 2
Writes route coordinates to a GPX stream.
procedure SaveToGPXStream(ACoordinates: TTMSFNCMapsCoordinateRecArray; AStream: TStream; AMetaData: TTMSFNCMapsGPXMetaData; AInstructions: TTMSFNCDirectionsSteps = nil); overload; virtual;
Parameters
| Name | Description |
|---|---|
ACoordinates |
Coordinate or coordinate array used by the operation. |
AStream |
Stream that receives the generated data. |
AMetaData |
Metadata included in the generated GPX content. |
AInstructions |
Optional route instructions included in the generated GPX content. |