Direction, Distance and Destinations
3 Comments
honk
John
Why use jquery in one snippet and not the other?
Theo
Great lesson!
Just tried the example and works very well. Refreshing the site you get the new direction. I mean you can lead your customers to the next shop with maps but this is a new, and may i say funny way to do it. Thank you very much for this tutorial!
>> Improvements to this could include setting a timer and
>> recalling the navigator.geolocation.getCurrentPosition()
>> function and updating the distances.
there is navigator.geolocation.watchPosition()