x-callback-url
/startTracking
Action
– startTracking
Parameters
– none
Description
– This will start recording a track.- gpstracks://x-callback-url/startTracking
/stopTracking
Action
– stopTracking- stopAction [string:required] : This will let you choose to save or delete the track. The two options are “save” or “delete”.
- trackName [string:optional] : This will be the name of the track if you want to save it.
Description
– This will stop recording a track and either save it with the track name or delete it.
Examples
- gpstracks://x-callback-url/stopTracking?stopAction=save&trackName=Track1
- gpstracks://x-callback-url/stopTracking?stopAction=delete
/pauseTracking
Action
– pauseTracking
Parameters
– none
Description
– This will pause recording of a track if it is already recording.- gpstracks://x-callback-url/pauseTracking
/addWaypoint
Action
– addWaypoint- waypointName [string:optional] : This will be the name of the waypoint.
- waypointFolder [string:required] : This is the name of the folder in which the waypoint will be saved. If the folder does not exist, then it will be created.
- latitude [string:optional] : Latitude of the waypoint in decimal format.
- longitude [string:optional] : Longitude of the waypoint in decimal format.
Description
– This will save a waypoint in the app. If the latitude or longitude are left blank then it will try to use your current location.
Examples
- gpstracks://x-callback-url/addWaypoint?waypointname=wpt1&waypointFolder=Hiking&latitude=37.3324&longitude=-122.0312
- gpstracks://x-callback-url/addWaypoint?waypointname=wpt1&waypointFolder=Hiking
- gpstracks://x-callback-url/addWaypoint?waypointFolder=Camping