From bfb5325e68e862e888d422f5d717d2da49e566e4 Mon Sep 17 00:00:00 2001
From: Marcos Caceres
method steps are:
+++
+- +
+If the [=current settings object=]'s [=relevant global + object=]'s [=associated `Document`=] is not + [=Document/fully active=]:If the [=this=]'s + [=relevant global object=]'s [=associated `Document`=] is + not [=Document/fully active=]: +
+++
+- +
+If the [=current settings object=]'s [=relevant global + object=]'s [=associated `Document`=] is not + [=Document/fully active=]:If the [=this=]'s + [=relevant global object=]'s [=associated `Document`=] is + not [=Document/fully active=]: +
- The toJSON() method returns a JSON representation of the - {{GeolocationPosition}} object. -
++ The toJSON() method returns a JSON representation of the + {{GeolocationPosition}} object. +
+- The latitude and longitude attributes denote - the position, specified as a real number of degrees, in the [[WGS84]] - coordinate system. -
-- The accuracy attribute denotes the accuracy level of the - latitude and longitude coordinates in meters (e.g., `65` meters). -
+
+ The latitude and longitude
+ attributes are geographic coordinates specified in decimal
+ degrees. The latitude and
+ longitude attributes denote the position, specified as a
+ real number of degrees, in the [[WGS84]] coordinate system.
+
- The toJSON() method returns a JSON representation of the - {{GeolocationCoordinates}} object. -
++ The toJSON() method returns a JSON representation of the + {{GeolocationCoordinates}} object. +
+
+ Initialize |coord|'s {{GeolocationCoordinates/latitude}}
+ attribute to a geographic coordinate in decimal
+ degrees. attribute to a latitude, specified as a
+ real number of degrees, in the [[WGS84]] coordinate
+ system.
+
+ Initialize |coord|'s {{GeolocationCoordinates/longitude}}
+ attribute to a geographic coordinate in decimal
+ degrees. attribute to a longitude, specified as
+ a real number of degrees, in the [[WGS84]] coordinate
+ system.
+
+ Initialize |coord|'s {{GeolocationCoordinates/altitude}}
+ attribute in meters above the [[WGS84]] ellipsoid, or
+ `null` if the implementation cannot provide altitude
+ information. attribute to a height, in meters,
+ above the [[WGS84]] ellipsoid, or `null` if the
+ implementation cannot provide altitude information.
+
+ Initialize |coord|'s {{GeolocationCoordinates/speed}}
+ attribute to a non-negative real number, or as `null`
+ if the implementation cannot provide speed
+ information. attribute to a speed, as a
+ non-negative real number of meters per second, or as `null`
+ if the implementation cannot provide speed
+ information.
+
+ Initialize |coord|'s {{GeolocationCoordinates/heading}}
+ attribute in degrees, or `null` if the implementation
+ cannot provide heading information. If the hosting device
+ is stationary (i.e., the value of the
+ {{GeolocationCoordinates/speed}} attribute is 0), then
+ initialize the {{GeolocationCoordinates/heading}} to
+ `NaN`. attribute to a heading, in degrees, or
+ `null` if the implementation cannot provide heading
+ information. If the hosting device is stationary (i.e., the
+ value of the {{GeolocationCoordinates/speed}} attribute is
+ 0), then initialize the {{GeolocationCoordinates/heading}}
+ to `NaN`.
+
+ Initialize |coord|'s {{GeolocationCoordinates/speed}}
+ attribute to a non-negative real number, or as `null`
+ if the implementation cannot provide speed
+ information. attribute to a speed, as a
+ non-negative real number of meters per second, or as `null`
+ if the implementation cannot provide speed
+ information.
+
+ Initialize |coord|'s {{GeolocationCoordinates/heading}}
+ attribute in degrees, or `null` if the implementation
+ cannot provide heading information. If the hosting device
+ is stationary (i.e., the value of the
+ {{GeolocationCoordinates/speed}} attribute is 0), then
+ initialize the {{GeolocationCoordinates/heading}} to
+ `NaN`. attribute to a heading, in degrees, or
+ `null` if the implementation cannot provide heading
+ information. If the hosting device is stationary (i.e., the
+ value of the {{GeolocationCoordinates/speed}} attribute is
+ 0), then initialize the {{GeolocationCoordinates/heading}}
+ to `NaN`.
+