travel
Similar to the setLocation command, the travel
command allows you to mock the geolocation of the device.
However, instead of a static location, travel
is used to mimic changes in device location over time.
You can use this to mock a journey such as a walk, run or drive.
Options
The travel
command has two mandatory parameters:
points
is a list of WSG84 coordinates (latitude, longitude) you wish to mockspeed
is the velocity in meters per second that the device will travel along the route defined bypoints
For example, a run along the Thames in London at 8km per hour:
Note: this step takes 5-10 minutes to execute.
Related Commands
Last updated