Jaa


Geocoordinate Class

Definition

Contains the information for identifying a geographic location.

public ref class Geocoordinate sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class Geocoordinate final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class Geocoordinate
Public NotInheritable Class Geocoordinate
Inheritance
Object Platform::Object IInspectable Geocoordinate
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 ID_CAP_LOCATION [Windows Phone]

Remarks

Retrieve an instance of this class using the Geoposition.Coordinate property.

Values for the Latitude, Longitude, and Accuracy properties are always provided. Values for the Altitude, AltitudeAccuracy, Heading, and Speed properties are provided if available. If they are not available, they will be null in JavaScript code.

Properties

Accuracy

The accuracy of the location in meters.

Altitude

Note

Altitude may be altered or unavailable after Windows 8.1 and Windows Phone 8.1. Instead, use Geocoordinate.Point.

The altitude of the location, in meters.

AltitudeAccuracy

The accuracy of the altitude, in meters.

Heading

The current heading in degrees relative to true north.

IsRemoteSource

Gets a value that indicates whether the current location reported by this Geocoordinate object is being redirected to a remote physical location.

Latitude

Note

Latitude may be altered or unavailable after Windows 8.1 and Windows Phone 8.1. Instead, use Geocoordinate.Point.

The latitude in degrees.

Longitude

Note

Longitude may be altered or unavailable after Windows 8.1 and Windows Phone 8.1. Instead, use Geocoordinate.Point.

The longitude in degrees.

Point

The location of the Geocoordinate.

PositionSource

Gets the source used to obtain a Geocoordinate.

PositionSourceTimestamp

Gets the time at which the associated Geocoordinate position was calculated.

SatelliteData

Gets information about the satellites used to obtain a Geocoordinate.

Speed

The speed in meters per second.

Timestamp

The system time at which the location was determined.

Applies to