You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The <ahref="#attr-layer-src"><code>src</code></a> attribute value is the URL of a web resource encoded in <ahref="#structure">Map Markup Language</a>.</p>
944
944
<p>The <ahref="#attr-layer-hidden"><code>hidden</code></a> boolean attribute can be set to remove the <ahref="#the-layer-element"><code>layer</code></a> from the <em>map layer control, but it will remain displayed on the map</em>. In order to
945
945
remove the <ahref="#the-layer-element"><code>layer</code></a> from the map display, it can have its <ahref="#attr-layer-checked"><code>checked</code></a> property toggled, or be removed from the DOM.</p>
The fallback <ahref="#attr-layer-label"><code>label</code></a>
952
+
value is used as the <ahref="https://www.w3.org/TR/accname/#dfn-accessible-name">accessible name</a>
953
+
[[accname-1.1]] of the layer if the map document author has not supplied
954
+
a non-empty <ahref="#the-title-element"><code>title</code></a> element
955
+
value in the <ahref="#the-layer-element"><code>layer</code></a> content.
956
+
The <ahref="#dom-htmllayerelement-label"><code>label</code></a> IDL
957
+
attribute must <ahref="https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#reflect">reflect</a>
958
+
the <ahref="#attr-layer-label"><code>label</code></a> content attribute.</p>
946
959
<p>The <ahref="#dom-htmllayerelement-disabled"><code>disabled</code></a> property is a read-only boolean indicator of the visibility of the layer on the map. If the layer is not visible due to errors, including projection,
947
960
zoom or extent mismatch, the property will be true and if the layer is present in the layer control (i.e. <ahref="#attr-layer-hidden"><code>hidden</code></a> is false), it will be disabled in that control i.e. not checkable.</p>
948
961
<p>The location and zoom level of the map can be changed via the <ahref="#dom-htmllayerelement-zoomto"><code>layer</code>.<code>zoomTo()</code></a> API method.</p>
0 commit comments