geolocation object
Provides methods for obtaining the geographic location of the device running Windows Internet Explorer.
![]() |
Members
The geolocation object has these types of members:
Methods
The geolocation object has these methods.
| Method | Description |
|---|---|
| clearWatch |
Stops listening for updates to the current geographical location. |
| getCurrentPosition |
Obtains the geographic position, in terms of latitude and longitude coordinates, of the device running Internet Explorer. |
| watchPosition |
Begins listening for updates to the current geographical location of the device running the client. |
Standards information
There are no standards that apply here.
Remarks
Windows Internet Explorer 9. The geolocation object is only supported for webpages displayed in IE9 Standards mode. For more information, see Defining Document Compatibility.
The geolocation object is not supported for applications hosting the WebBrowser Control.
