Javascript Using Geolocation API

Discussion created by shaun_weston-eagle-co-nz-esridist on Dec 10, 2011
Latest reply on Dec 11, 2011 by stevel
I've been thinking about how to go about developing a Javascript Mobile application to capture someones route and just after some ideas.

Basically what I want to do is track a route of a cyclist from point A to point B and basically digitise a line for that route, which would capture the time as well. I was thinking of using the Geolocation API to capture points every 20 seconds or so and then push that to a model on a server, which would then convert it to a line and make it available as a map service?

Not sure what the best way would be?