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

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

Fields

Altitude

The altitude of the geographic position in meters.

Note

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

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