(mapInfo, _taskID)
| 110 | _getMapInfo() {} |
| 111 | |
| 112 | _loadLayers(mapInfo, _taskID) { |
| 113 | if (this.map) { |
| 114 | this._handleLayerInfo(mapInfo, _taskID); |
| 115 | } else { |
| 116 | setTimeout(() => { |
| 117 | this._createMap(mapInfo).then(() => { |
| 118 | this.map.on('load', () => { |
| 119 | this._handleLayerInfo(mapInfo, _taskID); |
| 120 | }); |
| 121 | }); |
| 122 | }, 0); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | async _registerMapCRS(mapInfo) { |
| 127 | const { projection, extent = { leftBottom: {}, rightTop: {} }, baseLayer = {} } = mapInfo; |
no test coverage detected