BasicGeoposition structure

Applies to Windows and Windows Phone

The basic information to describe a geographic position.

Syntax


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

Attributes

[Version(0x06030000)]

Members

The BasicGeoposition structure has these fields.

FieldData typeDescription
Altitude | altitude

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

The altitude of the geographic position.

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

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

 

 

Show:
© 2014 Microsoft. All rights reserved.