GeolocationCoordinates Class

The coordinates of a position (https://w3c.github.io/geolocation/#coordinates_interface).

public sealed class GeolocationCoordinates

Properties

NameDescription
AccuracyGets the accuracy of the latitude and the longitude, in meters.
AltitudeGets the height above the WGS84 ellipsoid, in meters, or null.
AltitudeAccuracyGets the accuracy of the altitude, in meters, or null.
HeadingGets the direction of travel, in degrees clockwise from the true north, or null (when the device is stationary, its speed is 0).
LatitudeGets the latitude, in decimal degrees.
LongitudeGets the longitude, in decimal degrees.
SpeedGets the horizontal speed, in meters per second, or null.

Gets the accuracy of the latitude and the longitude, in meters.

public double Accuracy { get; }

Gets the height above the WGS84 ellipsoid, in meters, or null.

public double? Altitude { get; }

AltitudeAccuracy

Geolocation.cs

Gets the accuracy of the altitude, in meters, or null.

public double? AltitudeAccuracy { get; }

Gets the direction of travel, in degrees clockwise from the true north, or null (when the device is stationary, its speed is 0).

public double? Heading { get; }

Gets the latitude, in decimal degrees.

public double Latitude { get; }

Gets the longitude, in decimal degrees.

public double Longitude { get; }

Gets the horizontal speed, in meters per second, or null.

public double? Speed { get; }