The HTML Geolocation API is used to get the geographical position of a user. Since this can compromise privacy,
the position is not available unless the user approves it.
The location of the user is represented as a single point that comprises two components: latitude and longitude.
Geolocation in computing terminology determines the current location of a user on the devices.
- Global Positioning System (GPS)
GPS is a satellite navigation system that provides information about the location on
any part of the globe.The GPS system is maintained by the government of the United States.
- IP Address Location information can be derived from IP Address which is assigned to devices,
such as desktops, printers, and so on connected on a network.
- GSM/CDMA Cell IDs These are used by the cell phones.
- WiFi and Bluetooth MAC address These are used by devices that have wireless network connection.
- User Input It is a software tool which can be used on any device requesting for location
information.The information retrieved by the tool is based on the data provided by the user. For
example, a zip code.
-
The Geolocation API provides a high-level interface to retrieve location information related to the hosting devices.
The interface hides the details, such as how the information is gathered or which methods were used to retrieve the information.
The object that holds implementation of the Geolocation API is the Geolocation object.
The navigator object is a browser object that allows a user to retrieve information about the specific location.
Piras Giuseppe Cristian Manca Deias Filippo
Crobu Claudio Podda Giacomo