Geocoordinate Geocoordinate Geocoordinate Geocoordinate Geocoordinate Class

Definition

Contains the information for identifying a geographic location.

public : sealed class Geocoordinate : IGeocoordinate, IGeocoordinateWithPoint, IGeocoordinateWithPositionData, IGeocoordinateWithPositionSourceTimestamp
struct winrt::Windows::Devices::Geolocation::Geocoordinate : IGeocoordinate, IGeocoordinateWithPoint, IGeocoordinateWithPositionData, IGeocoordinateWithPositionSourceTimestamp
public sealed class Geocoordinate : IGeocoordinate, IGeocoordinateWithPoint, IGeocoordinateWithPositionData, IGeocoordinateWithPositionSourceTimestamp
Public NotInheritable Class Geocoordinate Implements IGeocoordinate, IGeocoordinateWithPoint, IGeocoordinateWithPositionData, IGeocoordinateWithPositionSourceTimestamp
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
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 Accuracy Accuracy Accuracy Accuracy

The accuracy of the location in meters.

Altitude Altitude Altitude Altitude 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 AltitudeAccuracy AltitudeAccuracy AltitudeAccuracy AltitudeAccuracy

The accuracy of the altitude, in meters.

Heading Heading Heading Heading Heading

The current heading in degrees relative to true north.

Latitude Latitude Latitude Latitude 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 Longitude Longitude Longitude 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 Point Point Point Point

The location of the Geocoordinate.

PositionSource PositionSource PositionSource PositionSource PositionSource

Gets the source used to obtain a Geocoordinate.

PositionSourceTimestamp PositionSourceTimestamp PositionSourceTimestamp PositionSourceTimestamp PositionSourceTimestamp

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

SatelliteData SatelliteData SatelliteData SatelliteData SatelliteData

Gets information about the satellites used to obtain a Geocoordinate.

Speed Speed Speed Speed Speed

The speed in meters per second.

Timestamp Timestamp Timestamp Timestamp Timestamp

The system time at which the location was determined.