(count, layersLen)
| 2469 | } |
| 2470 | |
| 2471 | _sendMapToUser(count, layersLen) { |
| 2472 | if (count === layersLen) { |
| 2473 | this.addLayersSucceededLen = this._cacheLayerId.size; |
| 2474 | this._changeSourceListModel(); |
| 2475 | const appreciableLayers = this.getLayers(); |
| 2476 | const layerOptions = this._getSelfAppreciableLayers(appreciableLayers); |
| 2477 | this.rectifyLayersOrder(layerOptions.layers); |
| 2478 | this.fire('mapcreatesucceeded', { |
| 2479 | ...layerOptions, |
| 2480 | map: this.map, |
| 2481 | mapparams: this._mapInfo.mapParams |
| 2482 | }); |
| 2483 | } |
| 2484 | } |
| 2485 | |
| 2486 | rectifyLayersOrder(appreciableLayers, topLayerBeforeId) { |
| 2487 | const exsitLayers = super.rectifyLayersOrder(appreciableLayers, topLayerBeforeId); |
no test coverage detected