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

Method _addStyleElement

src/layer.js:498–502  ·  view source on GitHub ↗
(mapStyle)

Source from the content-addressed store, hash-verified

496 });
497 };
498 const _addStyleElement = (mapStyle) => {
499 this.whenReady().then(() => {
500 this._layer.renderStyles(mapStyle);
501 });
502 };
503 const _addExtentElement = (mapExtent) => {
504 this.whenReady().then(() => {
505 delete this._layer.bounds;

Callers

nothing calls this directly

Calls 1

whenReadyMethod · 0.95

Tested by

no test coverage detected