Home > @magiclane/maps-sdk > Path > exportAs

Path.exportAs() method

Export path coordinates in the requested data format.

Signature:

exportAs(pathFileFormat: PathFileFormat): string;

Parameters

Parameter

Type

Description

pathFileFormat

PathFileFormat

Data format, see PathFileFormat.

Returns:

string

The string with the exported data.