Windows Dev Center

BasicGeoposition structure

The basic information to describe a geographic position.

Syntax


var basicGeoposition = {
    altitude : /* Your value */,
    latitude : /* Your value */,
    longitude : /* Your value */
}

Members

The BasicGeoposition structure has these fields.

FieldData typeDescription
Altitude | altitude

Number [JavaScript] | System.Double [.NET] | float64 [C++]

The altitude of the geographic position in meters.

Latitude | latitude

Number [JavaScript] | System.Double [.NET] | float64 [C++]

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

Longitude | longitude

Number [JavaScript] | System.Double [.NET] | float64 [C++]

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.

 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

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

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

Attributes

[Version(0x06030000)]

 

 

Show:
© 2015 Microsoft