Geoposition class

Geoposition class

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

Syntax


/* For information about creating or accessing this object, see Remarks. */

Members

The Geoposition class has these types of members:

Properties

The Geoposition class has these properties.

PropertyAccess typeDescription

CivicAddress

Read-only

Unsupported API.

Coordinate

Read-only

The latitude and longitude associated with a geographic location.

VenueData

Read-only

Represents the venue associated with a geographic location.

 

Remarks

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

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

location

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

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]

Attributes

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

See also

Object

 

 

Show:
© 2016 Microsoft