W3C Geolocation API in IE9 Enables Web Developers Request User's Physical Location

IE9 RC includes support for the W3C Geolocation API, which enables Web developers to request the user's physical location. This capability is useful for many Web sites, especially those that are already location-aware.

IE9 RC includes support for the W3C Geolocation API, which enables Web developers to request the user's physical location. This capability is useful for many Web sites, especially those that are already location-aware.

w3c geo location in ie IE respects your privacy. With your permission, Web sites can obtain your approx. latitude and longitude by calling one of the W3C Geolocation API methods. If a Web site requests your location, IE will notify you and let you choose whether or not to grant the requesting Web site access to your location. You can allow or deny Web site access to your location once, or you can always allow or deny by clicking 'Options for this site' button. At any time, you can clear the list of sites you've allowed or denied access to on the Privacy tab in Tools->Internet Options. On that tab, you can also turn off geolocation and prevent any Web site from requesting your location.

w3c geolocation api:permission

If you allow, IE will approx. your location with the help of Microsoft Location Service and works without the need for additional hardware. Given an IP address or a list of nearby WiFi hotspots, it can approximate your physical location using a database of IP addresses and a database of known hotspot locations.

You can try out this capability on the IE9 Test Drive site. Just click "locate me," approve the prompt, and check out the result. If you zoom out, you can see the error radius that is returned by the API. You'll notice that location requests with WiFi data are more accurate than those based just on IP address.

[tags]geolocatiom,w3v geolocation api,ie9,internet explorer 9,hotspots[/tags]

[Source]