MCPcopy Index your code
hub / github.com/Maps4HTML/MapML.js / _setLocalizedDefaultLabel

Method _setLocalizedDefaultLabel

src/layer.js:403–407  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

401 }
402
403 _setLocalizedDefaultLabel() {
404 if (!this._layer._titleIsReadOnly && !this._layer._title) {
405 this.label = this.parentElement.locale.dfLayer;
406 }
407 }
408
409 selectAlternateOrChangeProjection() {
410 let mapml = this.src ? this.shadowRoot : this;

Callers 1

_onAddMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected