Skip to content

Commit f48a011

Browse files
committed
Remove discussion of WGS84 from projection attribute definition
1 parent 8e1154a commit f48a011

File tree

1 file changed

+74
-62
lines changed

1 file changed

+74
-62
lines changed

spec/index.html

Lines changed: 74 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ <h3>Changes</h3>
368368
<li><time>2023-03-13</time>: Remove <code>nopan</code> from <code>controlslist</code> attribute. Add <code>label</code>, <label>opacity</label>, and <code>checked</code> attributes to <code>extent</code> element
369369
<li><time>2023-05-26</time>: Remove <code>map</code> and <code>area</code> element discussion, to focus on <code>mapml-viewer</code>.
370370
<li><time>2023-05-29</time>: Add <code>map-caption</code> element. Add static attribute to <code>mapml-viewer</code> element. Add <code>noscale</code>, <code>geolocation</code> to controlslist values. Add HTMLMapmlViewerElement methods forward(), back(), reload(), geojson2mapml to WebIDL interface. General edits up to line 928.
371+
<li><time>2023-05-30</time>: Remove discussion of WGS84 from projection attribute definition.
371372
</ol>
372373
</details>
373374
</section>
@@ -691,11 +692,22 @@ <h4>The <code>&lt;<dfn id="the-mapml-viewer-element">mapml-viewer</dfn>&gt;</cod
691692

692693
<p class="note">A user agent might ignore the <a href="#attr-map-controlslist-nofullscreen"><code>nofullscreen</code></a> keyword if the content area containing the map is small, such as on a mobile device.</p>
693694

694-
<p>The <dfn id="attr-map-projection" class="lint-ignore"><code>projection</code></dfn> attribute value identifies the coordinate system for the map and all the <a href="#the-layer-element"><code>layer</code></a> element children, with the exception of
695-
<a href="#the-layer-element"><code>layer</code></a> children in the WGS84 projection. WGS84 serves as a "wild-card" projection; features encoded in longitude, latitude values according to this projection can often be re-projected for
696-
use on maps encoded in other projections. As such, <a href="#the-layer-element"><code>layer</code></a> children do not have a projection attribute, in that they are verified to share the projection declared by their
697-
parent <a href="#the-mapml-viewer-element"><code>mapml-viewer</code></a> element. Once established, the projection of the <a href="#the-mapml-viewer-element"><code>mapml-viewer</code></a> is read-only.
698-
Unless otherwise specified, units are based on pixels projected and transformed from the units of the underlying projection system. The complete definition of these coordinate reference systems can be found in the
695+
<p>The <dfn id="attr-map-projection" class="lint-ignore"><code>projection</code></dfn>
696+
attribute value identifies the tiled coordinate reference system for
697+
the <a href="#the-mapml-viewer-element"><code>mapml-viewer</code></a>
698+
and the fallback tiled coordinate reference system for its content
699+
<a href="the-layer-element"><code>layer</code></a> elements.
700+
Layers share the projection declared by their parent
701+
<a href="#the-mapml-viewer-element"><code>mapml-viewer</code></a>
702+
either by using the fallback <a href="#attr-map-projection"><code>
703+
projection</code></a> value from the parent, or via an optional child
704+
<a href="#the-meta-element"><code>meta</code></a>
705+
element specifying the <code>projection</code> via that element's
706+
<code>name</code> and <code>content</code> attribute values.
707+
The default value of the <a href="#attr-map-projection"><code>
708+
projection</code></a>, if the content attribute is not present, is
709+
<a href="#tcrs-OSMTILE"><code>OSMTILE</code></a>.
710+
The complete set of defined tiled coordinate reference systems can be found in the
699711
<a href="#tiled-coordinate-reference-systems-table">Tiled Coordinate Reference Systems</a> table.
700712
</p>
701713

@@ -704,6 +716,63 @@ <h4>The <code>&lt;<dfn id="the-mapml-viewer-element">mapml-viewer</dfn>&gt;</cod
704716
</div>
705717
</section>
706718
<section>
719+
<h4>The <code>&lt;<dfn id="the-map-caption-element">map-caption</dfn>&gt;</code> element</h4>
720+
<dl class="def">
721+
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
722+
<dd>None.</dd>
723+
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
724+
<dd>As the first or last child of a <a href="#the-mapml-viewer-element"><code>mapml-viewer</code></a> element.</dd>
725+
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
726+
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#phrasing-content-2">Phrasing content</a>.</dd>
727+
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
728+
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
729+
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-tag-omission">Tag omission in text/html</a>:</dt>
730+
<dd>Neither tag is omissible.</dd>
731+
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
732+
<dd>
733+
<details class="a11y-details">
734+
<summary>For authors</summary>
735+
<div class="table-responsive">
736+
<table class="def">
737+
<thead>
738+
<tr>
739+
<th>Implicit ARIA semantics</th>
740+
<th>ARIA roles, states and properties which MAY be used</th>
741+
</tr>
742+
<tbody>
743+
<tr>
744+
<th>
745+
<a href="https://www.w3.org/TR/html-aria/#dfn-no-corresponding-role">No corresponding <code>role</code></a>
746+
</th>
747+
<td>
748+
<p><strong>No <code>role</code> or <code>aria-*</code> attributes</strong>.</p>
749+
</td>
750+
</tr>
751+
</tbody>
752+
</thead>
753+
</table>
754+
</div>
755+
</details>
756+
</dd>
757+
<dd>
758+
<details class="a11y-details">
759+
<summary>For implementers</summary>
760+
<div class="issue" data-number="165"><!-- empty comment to avoid generating more than the GH issue's title --></div>
761+
</details>
762+
</dd>
763+
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-dom">DOM interface</a>:</dt>
764+
<dd>Uses <a href="https://html.spec.whatwg.org/multipage/dom.html#htmlelement">HTMLElement</a>.</dd>
765+
</dl>
766+
<p>The <a href="#the-map-caption-element"><code>map-caption</code></a> element
767+
allows the HTML author to assign an accessible name to a map viewer. If the
768+
viewer is part of a generic mapping application that allows the user to
769+
navigate any location in the world, a location-specific <code>map-caption</code>
770+
may not be appropriate, and a more generic caption may be necessary.</p>
771+
<p>In other situations, the <code>map-caption</code> element allows the
772+
author to describe the central reason for the map. Often that reason is a
773+
combination of a location and a theme.</p>
774+
</section>
775+
<section>
707776
<h4>The <code>&lt;<dfn id="the-layer-element">layer</dfn>&gt;</code> element</h4>
708777
<dl class="def">
709778
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
@@ -793,63 +862,6 @@ <h4>The <code>&lt;<dfn id="the-layer-element">layer</dfn>&gt;</code> element</h4
793862
<p>The location and zoom level of the map can be changed via the <a href="#dom-htmllayerelement-zoomto"><code>layer</code>.<code>zoomTo()</code></a> API method.</p>
794863

795864
</section>
796-
<section>
797-
<h4>The <code>&lt;<dfn id="the-map-caption-element">map-caption</dfn>&gt;</code> element</h4>
798-
<dl class="def">
799-
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-categories">Categories</a>:</dt>
800-
<dd>None.</dd>
801-
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-contexts">Contexts in which this element can be used</a>:</dt>
802-
<dd>As the first or last child of a <a href="#the-mapml-viewer-element"><code>mapml-viewer</code></a> element.</dd>
803-
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-content-model">Content model</a>:</dt>
804-
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#phrasing-content-2">Phrasing content</a>.</dd>
805-
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-attributes">Content attributes</a>:</dt>
806-
<dd><a href="https://html.spec.whatwg.org/multipage/dom.html#global-attributes">Global attributes</a>.</dd>
807-
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-tag-omission">Tag omission in text/html</a>:</dt>
808-
<dd>Neither tag is omissible.</dd>
809-
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-accessibility-considerations">Accessibility considerations</a>:</dt>
810-
<dd>
811-
<details class="a11y-details">
812-
<summary>For authors</summary>
813-
<div class="table-responsive">
814-
<table class="def">
815-
<thead>
816-
<tr>
817-
<th>Implicit ARIA semantics</th>
818-
<th>ARIA roles, states and properties which MAY be used</th>
819-
</tr>
820-
<tbody>
821-
<tr>
822-
<th>
823-
<a href="https://www.w3.org/TR/html-aria/#dfn-no-corresponding-role">No corresponding <code>role</code></a>
824-
</th>
825-
<td>
826-
<p><strong>No <code>role</code> or <code>aria-*</code> attributes</strong>.</p>
827-
</td>
828-
</tr>
829-
</tbody>
830-
</thead>
831-
</table>
832-
</div>
833-
</details>
834-
</dd>
835-
<dd>
836-
<details class="a11y-details">
837-
<summary>For implementers</summary>
838-
<div class="issue" data-number="165"><!-- empty comment to avoid generating more than the GH issue's title --></div>
839-
</details>
840-
</dd>
841-
<dt><a href="https://html.spec.whatwg.org/multipage/dom.html#concept-element-dom">DOM interface</a>:</dt>
842-
<dd>Uses <a href="https://html.spec.whatwg.org/multipage/dom.html#htmlelement">HTMLElement</a>.</dd>
843-
</dl>
844-
<p>The <a href="#the-map-caption-element"><code>map-caption</code></a> element
845-
allows the HTML author to assign an accessible name to a map viewer. If the
846-
viewer is part of a generic mapping application that allows the user to
847-
navigate any location in the world, a location-specific <code>map-caption</code>
848-
may not be appropriate, and a more generic caption may be necessary.</p>
849-
<p>In other situations, the <code>map-caption</code> element allows the
850-
author to describe the central reason for the map. Often that reason is a
851-
combination of a location and a theme.</p>
852-
</section>
853865
<section class="informative">
854866
<h3 id="authoring">Authoring</h3>
855867

0 commit comments

Comments
 (0)