Geoposition class

Applies to Windows and Windows Phone

Represents a location that may contain latitude and longitude data or civic address data.

Syntax


Public NotInheritable Class Geoposition

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The Geoposition class has these types of members:

Properties

The Geoposition class has these properties.

PropertyAccess typeDescription

CivicAddress

Read-onlyContains civic address data associated with a geographic location.

Coordinate

Read-onlyThe latitude and longitude associated with a geographic location.

 

Remarks

Retrieve a Geoposition object by using the GetGeopositionAsync method or handling the PositionChanged event.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

Capabilities

location
ID_CAP_LOCATION [Windows Phone]

 

 

Show:
© 2014 Microsoft