Skip to content

Commit 74b1dd0

Browse files
authored
Correction: Clarify units and reference geodetic system for latitude and longitude (#138)
* Clarify units and reference geodetic system for latitude and longitude Replaces "decimal degrees" with "a real number of degrees" for greater clarity and specifically refers to the WGS84 coordinate system for latitude and longitude the way it is for altitude. Fixed #135 and #136. * Clean up GeopositionCoordinates constructor steps as well
1 parent 10b168f commit 74b1dd0

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

‎index.html

+18-13
Original file line numberDiff line numberDiff line change
@@ -1117,8 +1117,9 @@ <h4>
11171117
`latitude`, `longitude`, and `accuracy` attributes
11181118
</h4>
11191119
<p>
1120-
The <dfn>latitude</dfn> and <dfn>longitude</dfn> attributes are
1121-
geographic coordinates specified in decimal degrees.
1120+
The <dfn>latitude</dfn> and <dfn>longitude</dfn> attributes denote
1121+
the position, specified as a real number of degrees, in the [[WGS84]]
1122+
coordinate system.
11221123
</p>
11231124
<p>
11241125
The <dfn>accuracy</dfn> attribute denotes the accuracy level of the
@@ -1172,19 +1173,22 @@ <h2>
11721173
{{GeolocationCoordinates}} instance:
11731174
<ol>
11741175
<li>Initialize |coord|'s {{GeolocationCoordinates/latitude}}
1175-
attribute to a geographic coordinate in decimal degrees.
1176+
attribute to a latitude, specified as a real number of degrees, in
1177+
the [[WGS84]] coordinate system.
11761178
</li>
11771179
<li>Initialize |coord|'s {{GeolocationCoordinates/longitude}}
1178-
attribute to a geographic coordinate in decimal degrees.
1180+
attribute to a longitude, specified as a real number of degrees,
1181+
in the [[WGS84]] coordinate system.
11791182
</li>
11801183
<li>Initialize |coord|'s {{GeolocationCoordinates/accuracy}}
11811184
attribute to a non-negative real number. The value SHOULD
11821185
correspond to a 95% confidence level with respect to the
11831186
longitude and latitude values.
11841187
</li>
11851188
<li>Initialize |coord|'s {{GeolocationCoordinates/altitude}}
1186-
attribute in meters above the [[WGS84]] ellipsoid, or `null` if
1187-
the implementation cannot provide altitude information.
1189+
attribute to a height, in meters, above the [[WGS84]] ellipsoid,
1190+
or `null` if the implementation cannot provide altitude
1191+
information.
11881192
</li>
11891193
<li>Initialize |coord|'s
11901194
{{GeolocationCoordinates/altitudeAccuracy}} attribute as
@@ -1194,15 +1198,16 @@ <h2>
11941198
level.
11951199
</li>
11961200
<li>Initialize |coord|'s {{GeolocationCoordinates/speed}}
1197-
attribute to a non-negative real number, or as `null` if the
1198-
implementation cannot provide speed information.
1201+
attribute to a speed, as a non-negative real number of meters per
1202+
second, or as `null` if the implementation cannot provide speed
1203+
information.
11991204
</li>
12001205
<li>Initialize |coord|'s {{GeolocationCoordinates/heading}}
1201-
attribute in degrees, or `null` if the implementation cannot
1202-
provide heading information. If the hosting device is stationary
1203-
(i.e., the value of the {{GeolocationCoordinates/speed}}
1204-
attribute is 0), then initialize the
1205-
{{GeolocationCoordinates/heading}} to `NaN`.
1206+
attribute to a heading, in degrees, or `null` if the
1207+
implementation cannot provide heading information. If the hosting
1208+
device is stationary (i.e., the value of the
1209+
{{GeolocationCoordinates/speed}} attribute is 0), then initialize
1210+
the {{GeolocationCoordinates/heading}} to `NaN`.
12061211
</li>
12071212
</ol>
12081213
</li>

0 commit comments

Comments
 (0)