Hi,
How do you calculate the average speed you are driving? I want from a start point continues display the average speed until the end point (about 3 km).
How do you calculate this, do I need to push every time I get a location update the speed to an array and from the start of the array until the end calc the average or is there a smarter way?
How do you calculate the average speed you are driving? I want from a start point continues display the average speed until the end point (about 3 km).
How do you calculate this, do I need to push every time I get a location update the speed to an array and from the start of the array until the end calc the average or is there a smarter way?