Your Current Location:
Latitude | |
Longitude | |
Accuracy | |
Address |
About HTML5/W3C/Browser Geolocation API
The HTML Geolocation API is used to locate a user's current position. Since this functionality can compromise user's privacy, the position is not available unless the user approves it. The browser will attempt to get user permission through a message will either appear as a popup box, or at the top/bottom of the browser.
A number of different sources are used to obtain the user’s current location which has their own varying degree of accuracy. A desktop browser is likely to use WiFi with the accuracy of 20m or IP Geolocation, which is only accurate to the city level and can provide false positives. Mobile devices tend to use triangulation techniques such as GPS (accurate to 10m and only works outside), WiFi and GSM/CDMA cell IDs (accurate to 1000m).
Browser Compatibility
Currently, the Geolocation API is supported by the following desktop browsers:
- Firefox 3.5+
- Chrome 5.0+
- Safari 5.0+
- Opera 10.60+
- Internet Explorer 9.0+
There is also supported for the Geolocation API on mobile devices:
- Android 2.0+
- iPhone 3.0+
- Opera Mobile 10.1+
- Symbian (S60 3rd & 5th generation)
- Blackberry OS 6
- Maemo