new GPX
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
options |
ol.parser.GPXOptions |
<optional> |
(Optional) Optional configuration object. |
- Source:
- gpx.js, line 26
Methods
-
read
-
Parameters:
Name Type Description data
string | Document | Element | Object Data to read.
- Source:
- gpx.js, line 239
Returns:
An object representing the document.
- Type
- ol.parser.ReadFeaturesResult
-
write
-
Parameters:
Name Type Description obj
ol.parser.GPXWriteOptions Object structure to write out as GPX.
- Source:
- gpx.js, line 296
Returns:
An string representing the GPX document.
- Type
- string