Share via


BasicGeoposition Struct

Definition

The basic information to describe a geographic position.

public value class BasicGeoposition
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct BasicGeoposition
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct BasicGeoposition
var basicGeoposition = {
latitude : /* Your value */,
longitude : /* Your value */,
altitude : /* Your value */
}
Public Structure BasicGeoposition
Inheritance
BasicGeoposition
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
location

Fields

Name Description
Altitude

The altitude of the geographic position in meters.

Note

This field affects location only when you set the altitude reference system for the class created from this BasicGeoposition. For example, configure the AltitudeReferenceSystem property on a Geopoint before using it.

Latitude

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

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.

Applies to