Contains latitude and longitude data for a geographic location.
Syntax
var geocoordinate = Geoposition.Coordinate;
Attributes
- MarshalingBehaviorAttribute(Agile)
- VersionAttribute(NTDDI_WIN8)
Members
The Geocoordinate class has these types of members:
Methods
The Geocoordinate class inherits methods from the Object class (C#/VB/C++).
Properties
The Geocoordinate class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | The accuracy of the location in meters. | |
| Read-only | The altitude of the location, in meters. | |
| Read-only | The accuracy of the altitude, in meters. | |
| Read-only | The current heading in degrees relative to true north. | |
| Read-only | The latitude in degrees. | |
| Read-only | The longitude in degrees. | |
| Read-only | Windows Phone only. Gets the source used to obtain a Geocoordinate. | |
| Read-only | Windows Phone only. Gets information about the satellites used to obtain a Geocoordinate. | |
| Read-only | The speed in meters per second. | |
| Read-only | The time at which the location was determined. |
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.
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
|
Capabilities |
|
Build date: 2/25/2013