Partager via


IWebGeolocation interface

Provides methods for obtaining the geographical location of the device running Windows Internet Explorer.

Members

The IWebGeolocation interface inherits from the IDispatch interface. IWebGeolocation also has these types of members:

  • Methods

Methods

The IWebGeolocation interface 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.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch