Skip to content

Commit c7aabda

Browse files
Correction: Clarify units and reference geodetic system for latitude and longitude (#138)
SHA: 74b1dd0 Reason: push, by marcoscaceres Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8494134 commit c7aabda

File tree

1 file changed

+24
-19
lines changed

1 file changed

+24
-19
lines changed

index.html

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
.mdn .samsunginternet_android::before{background-image:url(https://www.w3.org/assets/logos/browser-logos/samsung-internet/samsung-internet.svg)}
171171
.mdn .webview_android::before{background-image:url(https://www.w3.org/assets/logos/browser-logos/android-webview/android-webview.png)}
172172
</style>
173-
<meta name="revision" content="10b168f4f44048ee5fe1b428566ec171a9249dc8">
173+
<meta name="revision" content="74b1dd0d0bf1d0bae614e006f2dafdb66c5cfb8b">
174174
<meta name="description" content="The Geolocation API provides access to geographical location
175175
information associated with the hosting device.">
176176
<style>
@@ -242,16 +242,16 @@
242242
"testSuiteURI": "https://wpt.live/geolocation-API/",
243243
"implementationReportURI": "https://w3c.github.io/geolocation-api/reports/PR_imp_report.html",
244244
"xref": "web-platform",
245-
"gitRevision": "10b168f4f44048ee5fe1b428566ec171a9249dc8",
246-
"publishISODate": "2024-04-03T00:00:00.000Z",
247-
"generatedSubtitle": "W3C Editor's Draft 03 April 2024"
245+
"gitRevision": "74b1dd0d0bf1d0bae614e006f2dafdb66c5cfb8b",
246+
"publishISODate": "2024-04-11T00:00:00.000Z",
247+
"generatedSubtitle": "W3C Editor's Draft 11 April 2024"
248248
}</script>
249249
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED"></head>
250250
<body data-cite="WEBIDL secure-contexts permissions-policy permissions hr-time html HTML INFRA URL WEBIDL DOM FETCH" class="h-entry"><div class="head">
251251
<p class="logos"><a class="logo" href="https://www.w3.org/"><img crossorigin="" alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72">
252252
</a></p>
253253
<h1 id="title" class="title">Geolocation API</h1>
254-
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">W3C Editor's Draft</a> <time class="dt-published" datetime="2024-04-03">03 April 2024</time></p>
254+
<p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">W3C Editor's Draft</a> <time class="dt-published" datetime="2024-04-11">11 April 2024</time></p>
255255
<details open="">
256256
<summary>More details about this document</summary>
257257
<dl>
@@ -517,7 +517,7 @@ <h1 id="title" class="title">Geolocation API</h1>
517517
API</cite> has received the following normative changes:
518518
</p>
519519
<rs-changelog from="FPWD" filter="removeCommits"><ul>
520-
<li><a href="https://github.com/w3c/geolocation-api/commit/ef098b1">Update w3c.json</a> (<a href="https://github.com/w3c/geolocation-api/pull/141">#141</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/7082b4e">Fix references to "default allowlist"</a> (<a href="https://github.com/w3c/geolocation-api/pull/133">#133</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/514f15b">fix "Queue a task" / "in parallel" usage</a> (<a href="https://github.com/w3c/geolocation-api/pull/118">#118</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/a1531cb">Suggest permission lifetime</a> (<a href="https://github.com/w3c/geolocation-api/pull/108">#108</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/0c378d9">Handle OS-level permission change</a> (<a href="https://github.com/w3c/geolocation-api/pull/109">#109</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/2a116d7">Switch DOMTimeStamp to EpochTimeStamp</a> (<a href="https://github.com/w3c/geolocation-api/pull/104">#104</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/2c0c516">Return 0 when watchPosition() errors</a> (<a href="https://github.com/w3c/geolocation-api/pull/100">#100</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/de05002">Callback with error if doc is not fully active</a> (<a href="https://github.com/w3c/geolocation-api/pull/97">#97</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/f4605e5">Gracefully handle documents that are not fully active</a> (<a href="https://github.com/w3c/geolocation-api/pull/90">#90</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/41d7945">Add "geolocation task queue"</a> (<a href="https://github.com/w3c/geolocation-api/pull/87">#87</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/f8b930f">Added webapps as group</a> (<a href="https://github.com/w3c/geolocation-api/pull/144">#144</a>)</li>
520+
<li><a href="https://github.com/w3c/geolocation-api/commit/ef098b1">Update w3c.json</a> (<a href="https://github.com/w3c/geolocation-api/pull/141">#141</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/7082b4e">Fix references to "default allowlist"</a> (<a href="https://github.com/w3c/geolocation-api/pull/133">#133</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/514f15b">fix "Queue a task" / "in parallel" usage</a> (<a href="https://github.com/w3c/geolocation-api/pull/118">#118</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/a1531cb">Suggest permission lifetime</a> (<a href="https://github.com/w3c/geolocation-api/pull/108">#108</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/0c378d9">Handle OS-level permission change</a> (<a href="https://github.com/w3c/geolocation-api/pull/109">#109</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/2a116d7">Switch DOMTimeStamp to EpochTimeStamp</a> (<a href="https://github.com/w3c/geolocation-api/pull/104">#104</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/2c0c516">Return 0 when watchPosition() errors</a> (<a href="https://github.com/w3c/geolocation-api/pull/100">#100</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/de05002">Callback with error if doc is not fully active</a> (<a href="https://github.com/w3c/geolocation-api/pull/97">#97</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/f4605e5">Gracefully handle documents that are not fully active</a> (<a href="https://github.com/w3c/geolocation-api/pull/90">#90</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/41d7945">Add "geolocation task queue"</a> (<a href="https://github.com/w3c/geolocation-api/pull/87">#87</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/f8b930f">Added webapps as group</a> (<a href="https://github.com/w3c/geolocation-api/pull/144">#144</a>)</li><li><a href="https://github.com/w3c/geolocation-api/commit/74b1dd0">Correction: Clarify units and reference geodetic system for latitude …</a></li>
521521
</ul></rs-changelog>
522522
<p>
523523
Since publication of the Second Edition in 2016, this specification
@@ -2038,8 +2038,9 @@ <h1 id="title" class="title">Geolocation API</h1>
20382038
</h3><a class="self-link" href="#latitude-longitude-and-accuracy-attributes" aria-label="Permalink for Section 9.1"></a></div>
20392039

20402040
<p>
2041-
The <dfn data-export="" data-dfn-type="attribute" id="dom-geolocationcoordinates-latitude" data-idl="attribute" data-title="latitude" data-dfn-for="GeolocationCoordinates" data-type="double" data-lt="latitude" data-local-lt="GeolocationCoordinates.latitude" tabindex="0" aria-haspopup="dialog"><code>latitude</code></dfn> and <dfn data-export="" data-dfn-type="attribute" id="dom-geolocationcoordinates-longitude" data-idl="attribute" data-title="longitude" data-dfn-for="GeolocationCoordinates" data-type="double" data-lt="longitude" data-local-lt="GeolocationCoordinates.longitude" tabindex="0" aria-haspopup="dialog"><code>longitude</code></dfn> attributes are
2042-
geographic coordinates specified in decimal degrees.
2041+
The <dfn data-export="" data-dfn-type="attribute" id="dom-geolocationcoordinates-latitude" data-idl="attribute" data-title="latitude" data-dfn-for="GeolocationCoordinates" data-type="double" data-lt="latitude" data-local-lt="GeolocationCoordinates.latitude" tabindex="0" aria-haspopup="dialog"><code>latitude</code></dfn> and <dfn data-export="" data-dfn-type="attribute" id="dom-geolocationcoordinates-longitude" data-idl="attribute" data-title="longitude" data-dfn-for="GeolocationCoordinates" data-type="double" data-lt="longitude" data-local-lt="GeolocationCoordinates.longitude" tabindex="0" aria-haspopup="dialog"><code>longitude</code></dfn> attributes denote
2042+
the position, specified as a real number of degrees, in the [<cite><a class="bibref" data-link-type="biblio" href="#bib-wgs84" title="National Imagery and Mapping Agency Technical Report 8350.2, Third Edition">WGS84</a></cite>]
2043+
coordinate system.
20432044
</p>
20442045
<p>
20452046
The <dfn data-export="" data-dfn-type="attribute" id="dom-geolocationcoordinates-accuracy" data-idl="attribute" data-title="accuracy" data-dfn-for="GeolocationCoordinates" data-type="double" data-lt="accuracy" data-local-lt="GeolocationCoordinates.accuracy" tabindex="0" aria-haspopup="dialog"><code>accuracy</code></dfn> attribute denotes the accuracy level of the
@@ -2265,19 +2266,22 @@ <h1 id="title" class="title">Geolocation API</h1>
22652266
<a data-link-type="idl" data-lt="GeolocationCoordinates" href="#dom-geolocationcoordinates" class="internalDFN" id="ref-for-dom-geolocationcoordinates-3"><code>GeolocationCoordinates</code></a> instance:
22662267
<ol>
22672268
<li>Initialize <var>coord</var>'s <a data-link-type="idl" href="#dom-geolocationcoordinates-latitude" class="internalDFN" id="ref-for-dom-geolocationcoordinates-latitude-2"><code>latitude</code></a>
2268-
attribute to a geographic coordinate in decimal degrees.
2269+
attribute to a latitude, specified as a real number of degrees, in
2270+
the [<cite><a class="bibref" data-link-type="biblio" href="#bib-wgs84" title="National Imagery and Mapping Agency Technical Report 8350.2, Third Edition">WGS84</a></cite>] coordinate system.
22692271
</li>
22702272
<li>Initialize <var>coord</var>'s <a data-link-type="idl" href="#dom-geolocationcoordinates-longitude" class="internalDFN" id="ref-for-dom-geolocationcoordinates-longitude-2"><code>longitude</code></a>
2271-
attribute to a geographic coordinate in decimal degrees.
2273+
attribute to a longitude, specified as a real number of degrees,
2274+
in the [<cite><a class="bibref" data-link-type="biblio" href="#bib-wgs84" title="National Imagery and Mapping Agency Technical Report 8350.2, Third Edition">WGS84</a></cite>] coordinate system.
22722275
</li>
22732276
<li>Initialize <var>coord</var>'s <a data-link-type="idl" href="#dom-geolocationcoordinates-accuracy" class="internalDFN" id="ref-for-dom-geolocationcoordinates-accuracy-2"><code>accuracy</code></a>
22742277
attribute to a non-negative real number. The value <em class="rfc2119">SHOULD</em>
22752278
correspond to a 95% confidence level with respect to the
22762279
longitude and latitude values.
22772280
</li>
22782281
<li>Initialize <var>coord</var>'s <a data-link-type="idl" href="#dom-geolocationcoordinates-altitude" class="internalDFN" id="ref-for-dom-geolocationcoordinates-altitude-2"><code>altitude</code></a>
2279-
attribute in meters above the [<cite><a class="bibref" data-link-type="biblio" href="#bib-wgs84" title="National Imagery and Mapping Agency Technical Report 8350.2, Third Edition">WGS84</a></cite>] ellipsoid, or <code>null</code> if
2280-
the implementation cannot provide altitude information.
2282+
attribute to a height, in meters, above the [<cite><a class="bibref" data-link-type="biblio" href="#bib-wgs84" title="National Imagery and Mapping Agency Technical Report 8350.2, Third Edition">WGS84</a></cite>] ellipsoid,
2283+
or <code>null</code> if the implementation cannot provide altitude
2284+
information.
22812285
</li>
22822286
<li>Initialize <var>coord</var>'s
22832287
<a data-link-type="idl" href="#dom-geolocationcoordinates-altitudeaccuracy" class="internalDFN" id="ref-for-dom-geolocationcoordinates-altitudeaccuracy-2"><code>altitudeAccuracy</code></a> attribute as
@@ -2287,15 +2291,16 @@ <h1 id="title" class="title">Geolocation API</h1>
22872291
level.
22882292
</li>
22892293
<li>Initialize <var>coord</var>'s <a data-link-type="idl" href="#dom-geolocationcoordinates-speed" class="internalDFN" id="ref-for-dom-geolocationcoordinates-speed-2"><code>speed</code></a>
2290-
attribute to a non-negative real number, or as <code>null</code> if the
2291-
implementation cannot provide speed information.
2294+
attribute to a speed, as a non-negative real number of meters per
2295+
second, or as <code>null</code> if the implementation cannot provide speed
2296+
information.
22922297
</li>
22932298
<li>Initialize <var>coord</var>'s <a data-link-type="idl" href="#dom-geolocationcoordinates-heading" class="internalDFN" id="ref-for-dom-geolocationcoordinates-heading-2"><code>heading</code></a>
2294-
attribute in degrees, or <code>null</code> if the implementation cannot
2295-
provide heading information. If the hosting device is stationary
2296-
(i.e., the value of the <a data-link-type="idl" href="#dom-geolocationcoordinates-speed" class="internalDFN" id="ref-for-dom-geolocationcoordinates-speed-3"><code>speed</code></a>
2297-
attribute is 0), then initialize the
2298-
<a data-link-type="idl" href="#dom-geolocationcoordinates-heading" class="internalDFN" id="ref-for-dom-geolocationcoordinates-heading-3"><code>heading</code></a> to <code>NaN</code>.
2299+
attribute to a heading, in degrees, or <code>null</code> if the
2300+
implementation cannot provide heading information. If the hosting
2301+
device is stationary (i.e., the value of the
2302+
<a data-link-type="idl" href="#dom-geolocationcoordinates-speed" class="internalDFN" id="ref-for-dom-geolocationcoordinates-speed-3"><code>speed</code></a> attribute is 0), then initialize
2303+
the <a data-link-type="idl" href="#dom-geolocationcoordinates-heading" class="internalDFN" id="ref-for-dom-geolocationcoordinates-heading-3"><code>heading</code></a> to <code>NaN</code>.
22992304
</li>
23002305
</ol>
23012306
</li>

0 commit comments

Comments
 (0)