MCPcopy Create free account
hub / github.com/Maps4HTML/MapML.js / _addStylesheetLink

Method _addStylesheetLink

src/layer.js:493–497  ·  view source on GitHub ↗
(mapLink)

Source from the content-addressed store, hash-verified

491 */
492 _runMutationObserver(elementsGroup) {
493 const _addStylesheetLink = (mapLink) => {
494 this.whenReady().then(() => {
495 this._layer.renderStyles(mapLink);
496 });
497 };
498 const _addStyleElement = (mapStyle) => {
499 this.whenReady().then(() => {
500 this._layer.renderStyles(mapStyle);

Callers

nothing calls this directly

Calls 1

whenReadyMethod · 0.95

Tested by

no test coverage detected