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

Method _addMetaElement

src/layer.js:513–518  ·  view source on GitHub ↗
(mapMeta)

Source from the content-addressed store, hash-verified

511 let root = this.src ? this.shadowRoot : this,
512 pseudo = root instanceof ShadowRoot ? ':host' : ':scope';
513 const _addMetaElement = (mapMeta) => {
514 this.whenReady().then(() => {
515 this._layer._calculateBounds();
516 this._validateDisabled();
517 });
518 };
519 for (let i = 0; i < elementsGroup.length; ++i) {
520 let element = elementsGroup[i];
521 switch (element.nodeName) {

Callers

nothing calls this directly

Calls 3

whenReadyMethod · 0.95
_validateDisabledMethod · 0.95
_calculateBoundsMethod · 0.80

Tested by

no test coverage detected