MDN GetCurrentPosition

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