-
<static> parseGpx(gpxString, callback)
-
Parses gpx passed in as String
Parameters:
Name |
Type |
Description |
gpxString |
string
|
gpxData passed in as string |
callback |
gpxParseCompleteCallback
|
Callback function to call when parse has completed. |
- Source:
-
<static> parseGpxFromFile(gpxFile, callback)
-
Parse gpx from a file
Parameters:
Name |
Type |
Description |
gpxFile |
string
|
Path to gpx file you want to parse |
callback |
gpxParseCompleteCallback
|
Callback function to call when parse has completed. |
- Source:
-
<static> parseRemoteGpxFile(uri, callback)
-
Fetch a remote GPX file via HTTP(S) and parse it.
Parameters:
Name |
Type |
Description |
uri |
string
|
The URI of the remote gpx file. |
callback |
gpxParseCompleteCallback
|
Callback function to call when parse has completed. |
- Source:
-
<inner> _getRoutes()
-
Parses routes into an array of route objects
- Source:
-
<inner> _getWayPoints()
-
Parses the waypoints into an array of waypoints.
- Source:
-
<inner> _ParseV10()
-
Parses v1.0 data into data structure
- Source: