Compartilhar via


Geolocation

The Geolocation API allows web applications to obtain geographic information about the computer or device running Windows Internet Explorer 9 or later versions of Windows Internet Explorer.

Geolocation is the process of identifying the geographic location of a device or computer. This section introduces the Geolocation API, as implemented by Internet Explorer 9, and shows how to use the API to create a location-aware webpage.

In Internet Explorer 9, the implementation of the Geolocation API is based on the Geolocation API Specification, Candidate Recommendation, dated 7 September 2010, as published by the World Wide Web Consortium (W3C).

In this section

Topic Description

How to Create a Location-Aware Webpage

Support for the Geolocation API first introduced in Internet Explorer 9 enables a web application to access the current geographical location of the computer or device running the browser. The web application can then tailor the user experience according to the location, for instance, to display the user’s position on a map, or display up-to-date local information such as weather or news reports.

 

Internet Explorer 9 Samples and Tutorials