MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / _addLayerSucceeded

Method _addLayerSucceeded

src/common/mapping/WebMapV2.js:1111–1121  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

1109 }
1110
1111 _addLayerSucceeded(options) {
1112 if (
1113 (((options || {}).layerInfo || {}).labelStyle || {}).labelField &&
1114 options.layerInfo.layerType !== 'DATAFLOW_POINT_TRACK'
1115 ) {
1116 // 存在标签专题图
1117 this._addLabelLayer(options.layerInfo, options.features, false);
1118 }
1119 this.layerAdded++;
1120 this._sendMapToUser(this.layerAdded, this.expectLayerLen);
1121 }
1122
1123 _createDataflowLayer(layerInfo) {
1124 const dataflowService = new DataFlowService(layerInfo.wsUrl).initSubscribe();

Callers 15

_handleLayerInfoMethod · 0.95
_initOverlayLayersMethod · 0.95
_initOverlayLayerMethod · 0.95
_initGraticuleLayerMethod · 0.95
_createRestMapLayerMethod · 0.95
_initDataflowLayerMethod · 0.95
_createMigrationLayerMethod · 0.95
_createSymbolLayerMethod · 0.95
_createGraphicLayerMethod · 0.95
_createUniqueLayerMethod · 0.95
_createMarkerLayerMethod · 0.95

Calls 2

_addLabelLayerMethod · 0.95
_sendMapToUserMethod · 0.95

Tested by

no test coverage detected