BasicGeoposition BasicGeoposition BasicGeoposition BasicGeoposition BasicGeoposition Struct


The basic information to describe a geographic position.

public : struct BasicGeoposition
struct winrt::Windows::Devices::Geolocation::BasicGeoposition
public struct BasicGeoposition
Public Structure BasicGeoposition
var basicGeoposition = {

   altitude: /* Your value */,

   latitude: /* Your value */,

   longitude: /* Your value */


Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Altitude Altitude Altitude Altitude Altitude

The altitude of the geographic position in meters.


This field has an effect only if you set the altitude reference system of class that you create by using this BasicGeoPosition (For example: The AltitudeReferenceSystem property of a Geopoint ).

Latitude Latitude Latitude Latitude Latitude

The latitude of the geographic position. The valid range of latitude values is from -90.0 to 90.0 degrees.

Longitude Longitude Longitude Longitude Longitude

The longitude of the geographic position. This can be any value. For values less than or equal to-180.0 or values greater than 180.0, the value may be wrapped and stored appropriately before it is used. For example, a longitude of 183.0 degrees would become -177.0 degrees.