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

Method _addStyleElement

src/map-extent.js:317–321  ·  view source on GitHub ↗
(mapStyle)

Source from the content-addressed store, hash-verified

315 });
316 };
317 const _addStyleElement = (mapStyle) => {
318 this.whenReady().then(() => {
319 this._extentLayer.renderStyles(mapStyle);
320 });
321 };
322 for (let i = 0; i < elementsGroup.length; ++i) {
323 let element = elementsGroup[i];
324 switch (element.nodeName) {

Callers

nothing calls this directly

Calls 1

whenReadyMethod · 0.95

Tested by

no test coverage detected