MDN GetCurrentposition

navigator.geolocation.getCurrentPosition(success, error, options)
Dizzy Dog