I'm trying to work out how info.averageSpeed is calculated. The docs say it's 3-D distance over elapsed time but I can't recreate this. I'm assuming the time part is info.timerTime (not info.elapsedTime), but I don't see where I can find 3-D distance as opposed to 2-D distance (I've used info.elapsedDistance but this gives differences).
The reason I'd like to know is because I want to calculate average speed over a corrected distance figure (the user pushes the lap button to signify the nearest km).
I'm testing on the simulator, but will use the resulting data field on a fenix 5s.
Thanks :)