Destination:
Continuous Tracking and Routing Sample
This sample shows how to use the browsers geolocation API to continuous track a users position and their route to a destination on the map.