The total distance travelled while moving - in meters.
const onRidingDistanceChange = (value: number, timestamp?: Date) => {
console.log(value, timestamp);
};
COBI.tourService.ridingDistance.subscribe(onRidingDistanceChange);
COBI.tourService.ridingDistance.unsubscribe(onRidingDistanceChange);
const onRidingDistanceChange = (value, timestamp) => {
console.log(value, timestamp);
};
COBI.tourService.ridingDistance.subscribe(onRidingDistanceChange);
COBI.tourService.ridingDistance.unsubscribe(onRidingDistanceChange);