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

Method whenLinksReady

src/map-extent.js:607–616  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

605 }
606
607 whenLinksReady() {
608 let templates = this.querySelectorAll(
609 'map-link[rel=image],map-link[rel=tile],map-link[rel=features],map-link[rel=query]'
610 );
611 let linksReady = [];
612 for (let link of [...templates]) {
613 linksReady.push(link.whenReady());
614 }
615 return Promise.allSettled(linksReady);
616 }
617}

Callers 1

_validateDisabledMethod · 0.80

Calls 1

whenReadyMethod · 0.45

Tested by

no test coverage detected