I'm working on a cycling app that uses the geolocation APIs for measurements, and right now I'm trying to get speed displayed. It is working, as I took it in my car and drove around to test it, but it's definitely not being measured in miles/hour or kilometers/hour (either that or my car's speedometer is horribly off :) )
So does anyone know what units the measurement is returned in? Something like meters/second maybe? I can't seem to find the answer anywhere online.
Speed is calculated/provided in m/s so multiply by 3.6 for kph or 2.23693629 for mph.
BTW - I wouldn't expect much in the way of accuracy. Speed in generally calculated by measuring time and distance traveled. Since the GPS technology in these devices aren't accurate enough to get a stable and correct location the speed will not be calculated well.