Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIDOMGeoPositionCoords

The nsIDOMGeoPositionCoords interface describes a geographical location.

Please add a summary to this article.
  Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

Inherits from: nsISupports

Attributes

Attribute Type Description
latitude double The user's current latitude, in degrees. Read only.
longitude double The user's current longitude, in degrees. Read only.
altitude double The user's current altitude, in meters. Zero if the device doesn't support altitude detection. Read only.
accuracy double The accuracy of position information, in meters. Read only.
altitudeAccuracy double The accuracy of altitude information, in meters. Zero if the device doesn't support altitude detection. Read only.
heading double The current heading at which the user is moving, in degrees. Read only.
speed double The speed at which the user is moving, in meters per second (confirm this). Read only.

 

Document Tags and Contributors

 Contributors to this page: fscholz, Sheppy
 Last updated by: fscholz,