Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

geolocation property

Gets a reference to an IWebGeolocation interface, which reports the geographic location of the device running the application.

Geolocation API Specification, Section 5.1Internet Explorer 9



HRESULT value = object.get_geolocation(IWebGeolocation** p);

Property values

Type: Object

A reference to an IWebGeolocation interface.

Standards information


Windows Internet Explorer 9. The INavigatorGeolocation::geolocation property is only supported for webpages displayed in IE9 Standards mode. For more information, see Defining Document Compatibility.



Community Additions

© 2015 Microsoft