Checking access to the geolocation API