24 ways to impress your friends

Jump to menu

Vote up?

honk

>> Improvements to this could include setting a timer and
>> recalling the navigator.geolocation.getCurrentPosition()
>> function and updating the distances.

there is navigator.geolocation.watchPosition()