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.
| Class | Description |
|---|---|
| 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.
| Enumeration | Description |
|---|---|
| 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 |
|
|
Metadata |
|
|
Capabilities |
|
Build date: 2/25/2013