Name
Geocoordinates — a geographical position
Synopsis
An object of this type represents a position on the surface of the earth.
Properties
readonly doubleaccuracyThe accuracy of the
latitudeandlongitudevalues, in meters.readonly doublealtitudeThe altitude, in meters above sea level, or
nullif altitude is not available.readonly doublealtitudeAccuracyThe accuracy, in meters, of the
altitudeproperty. Ifaltitudeisnull,altitudeAccuracywill also benull.readonly doubleheadingThe user’s direction of travel, in degrees clockwise from true north, or
nullif the heading is not available. If heading information is available, butspeedis 0,headingwill beNaN.readonly doublelatitudeThe user’s latitude in decimal degrees north of the equator.
readonly doublelongitudeThe user’s longitude in decimal degrees east of the Greenwich Meridian.
readonly doublespeedThe user’s speed in meters per second, or
nullif speed information is not available. This property will never be a negative number. See alsoheading.