MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / _getAddL7LayersParams

Method _getAddL7LayersParams

src/common/mapping/WebMapV3.js:520–532  ·  view source on GitHub ↗
(layers, sources, l7Layers)

Source from the content-addressed store, hash-verified

518 }
519
520 _getAddL7LayersParams(layers, sources, l7Layers) {
521 return {
522 map: this.map,
523 webMapInfo: { ...this._mapInfo, layers, sources },
524 l7Layers,
525 spriteDatas: this._spriteDatas,
526 options: {
527 ...this.options,
528 emitterEvent: this.fire.bind(this),
529 transformRequest: this._getTransformRequest()
530 }
531 }
532 }
533
534 /**
535 * @private

Callers 2

copyLayerMethod · 0.95
_addLayersToMapMethod · 0.95

Calls 2

_getTransformRequestMethod · 0.95
bindMethod · 0.80

Tested by

no test coverage detected