Windows.Devices.Geolocation namespace

41 out of 49 rated this helpful - Rate this topic

Enables app developers to easily access the computer's geographic location by using a single API.

Location information may come from the Windows Location Provider, which uses Wi-Fi triangulation and IP address data to determine geolocation, or it may come from other sources such as a GPS device. The Windows.Devices.Geolocation API provides the most appropriate geolocation data from all available sources.

Members

The Windows.Devices.Geolocation namespace has these types of members:

Classes

The Windows.Devices.Geolocation namespace has these classes.

ClassDescription
CivicAddress Represents the civic address data associated with a geographic location.
Geocoordinate Contains latitude and longitude data for a geographic location.
Geolocator Provides access to the current geographic location.
Geoposition Represents a location that may contain latitude and longitude data or civic address data.
PositionChangedEventArgs Provides data for the PositionChanged event.
StatusChangedEventArgs Provides information for the StatusChanged event.

 

Enumerations

The Windows.Devices.Geolocation namespace has these enumerations.

EnumerationDescription
PositionAccuracy Indicates the requested accuracy level for the location data that the application uses.
PositionStatus Indicates the ability of the Geolocator object to provide location data.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.winmd

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.