49 out of 62 rated this helpful - Rate this topic

Windows.Devices.Geolocation namespace

[This documentation is preliminary and is subject to change.]

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.
Geocircle Describes a geographic circle with a center point and a radius.
Geocoordinate Contains the information for identifying a geographic location.
GeocoordinateSatelliteData Provides information about the satellites used to obtain a Geocoordinate.
Geolocator Provides access to the current geographic location.
Geopoint Describes a geographic point.
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
AltitudeReferenceSystem Indicates the altitude reference system to be used in defining a geographic shape.
GeoshapeType Indicates the geographic shape.
PositionAccuracy Indicates the requested accuracy level for the location data that the application uses.
PositionSource Indicates the source used to obtain a Geocoordinate.
PositionStatus Indicates the ability of the Geolocator object to provide location data.

 

Interfaces

The Windows.Devices.Geolocation namespace defines these interfaces.

InterfaceDescription
IGeoshape Interface to define a geographic shape.

 

Structures

The Windows.Devices.Geolocation namespace has these structures.

StructureDescription
BasicGeoposition The basic information to describe a geographic position.

 

Requirements

Minimum supported client

Windows 8.1 Preview

Minimum supported server

None supported

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: 6/19/2013

© 2013 Microsoft. All rights reserved.