Get the current geolocation

A basic code snippet to get the current location of the user