Description
When you load a layer from a remote URL via the <layer- src>
attribute, it's expected that you won't have control over the accessible name of the layer - it's set via the <map-title>
element in the remote document. However, if there's no <map-title>
element in the document, you should be able to set the label
attribute of the <layer->
element and see that change reflected in the layer control, but it not currently that way. If the <layer->
has inline content, i.e. no src
attribute, you should be able to control the accessible name of the layer in the layer control by adding/changing the <map-title>
child element of <layer->
, or maybe the <layer- label>
value as well tb discussed.
Note that changing the accessible name of a thing is not advisable.