< apis
Jump to: navigation, search

Geolocation API

This article is Ready to Use.

W3C Candidate Recommendation


The geolocation API lets you share your location with trusted web sites. The latitude and longitude are available to JavaScript on the page, which in turn can send it back to the remote web server and do fancy location-aware things like finding local businesses or showing your location on a map.

API Name Summary
Coordinates The geographic coordinate reference system used by the attributes in this interface is the World Geodetic System (2d).
Geolocation The Geolocation object is used by scripts to programmatically determine the location information associated with the hosting device. The location information is acquired by applying a user-agent specific algorithm, creating a Position object, and populating that object with appropriate data accordingly.
Position The container for the geolocation information returned by this API.
PositionError The container for Position error information returned by this API.
PositionOptions A native script object used by the getCurrentPosition() and watchPosition() methods.


This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: Windows Internet Explorer API reference Article