The geolocation defines a high-level interface to location information associated only with the device hosting the implementation, such as latitude and longitude. It allows the user to provide their location to applications if they so desire. For privacy reasons, oftentimes, the user is asked for permission to report location information.