W3C Geolocation API
| Geolocation API | |
|---|---|
| First published | December 22, 2008 |
| Latest version | W3C Recommendation September 1, 2022 |
| Organization | |
| Committee | Geolocation Working Group |
| Editors | Andrei Popescu |
| Domain | Geographical location information |
| Website | www |
The W3C Geolocation API is an effort by the World Wide Web Consortium (W3C) to standardize an interface to retrieve the geographical location information for a client-side device. It defines a set of objects, ECMAScript standard compliant, that executing in the client application give the client's device location through the consulting of Location Information Servers, which are transparent for the application programming interface (API). The most common sources of location information are IP address, available Wi-Fi and Bluetooth networks, radio-frequency identification (RFID), Wi-Fi connection location, or device Global Positioning System (GPS) and GSM/CDMA cell IDs. The location is returned with a given accuracy depending on the best location information source available.