nsIDOMGeoPositionCoords

Table of contents

    1. 1.1. Attributes
  1. 2. See also
Table of contents
    1. 1.1. Attributes
  1. 2. See also

Introduced in Gecko 1.9.1

(Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

The nsIDOMGeoPositionCoords interface describes a geographical location.

 Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

Please update this interface to use the IFSummary template.

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.

See also

Tags (7)

Edit tags

Attachments (0)

 

Attach file