new GPX
Read and write GPX version 1.1
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
options |
ol.parser.GPXOptions |
<optional> |
(Optional) Optional configuration object. |
- Source:
- gpx.js, line 28
Methods
-
read
-
Parameters:
Name Type Description datastring | Document | Element | Object Data to read.
- Source:
- gpx.js, line 241
Returns:
An object representing the document.
- Type
- ol.parser.ReadFeaturesResult
-
write
-
Parameters:
Name Type Description objol.parser.GPXWriteOptions Object structure to write out as GPX.
- Source:
- gpx.js, line 298
Returns:
An string representing the GPX document.
- Type
- string