Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
There's an example here which might be worth a look.
https://stackoverflow.com/questions/31456273/calculate-my-speed-with-geolocation-api-javascript
Best Answer