@kq_npm/client3d_webgl_vue 0.5.8-beta → 0.5.9-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +9 -6
- package/isolineanalysis/index.js +1 -4
- package/package.json +1 -1
- package/scenceview/index.js +6 -0
- package/slopeanalysis/index.js +2 -2
package/index.js
CHANGED
|
@@ -1115,6 +1115,7 @@ class LayerManager {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
1117
1117
|
source.mapServerInfo = (0,util_namespaceObject.formatKQMapInfo)(mapInfo.result, serverUrl, serverName, token, null, true);
|
|
1118
|
+
this._layerListData_old = this._layerListData_old.concat(source.mapServerInfo.layers_old);
|
|
1118
1119
|
});
|
|
1119
1120
|
sourcePromises.push(sourcePromise);
|
|
1120
1121
|
}
|
|
@@ -1160,6 +1161,10 @@ class LayerManager {
|
|
|
1160
1161
|
layerData.sourceLayers = source.mapServerInfo.layers_show;
|
|
1161
1162
|
} else {
|
|
1162
1163
|
layerData.url += "/" + layerData.renderType;
|
|
1164
|
+
|
|
1165
|
+
if (source.token) {
|
|
1166
|
+
layerData.url += "?ua_token=" + source.token;
|
|
1167
|
+
}
|
|
1163
1168
|
}
|
|
1164
1169
|
} else if (layerData.sourceType === "arcserver") {
|
|
1165
1170
|
if (!layerData.renderType || layerData.renderType === "rest") {
|
|
@@ -1662,6 +1667,7 @@ class LayerManager {
|
|
|
1662
1667
|
showLayers.reverse();
|
|
1663
1668
|
that._layerListData = that._layerListData.concat(showLayers); // console.log(that._layerTreeData);
|
|
1664
1669
|
// console.log(that._layerListData);
|
|
1670
|
+
// console.log(that._layerListData_old);
|
|
1665
1671
|
|
|
1666
1672
|
that.addMapServerLayers(showLayers, mapInfo.rect84);
|
|
1667
1673
|
}, error => {
|
|
@@ -11678,8 +11684,8 @@ class SlopeAnalysisViewModel {
|
|
|
11678
11684
|
|
|
11679
11685
|
destroy() {
|
|
11680
11686
|
// 移除监听事件
|
|
11681
|
-
this._drawFinishedEventListener && this._drawFinishedEventListener();
|
|
11682
|
-
this._drawFinishedEventListener = null;
|
|
11687
|
+
this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
|
|
11688
|
+
this._globaOptions._drawFinishedEventListener = null;
|
|
11683
11689
|
this._slopeAnalysis && this._slopeAnalysis.destroy();
|
|
11684
11690
|
this._slopeAnalysis = null;
|
|
11685
11691
|
}
|
|
@@ -12649,10 +12655,7 @@ class IsolineAnalysisViewModel {
|
|
|
12649
12655
|
clear() {
|
|
12650
12656
|
this._drawManager && this._drawManager.stopDraw();
|
|
12651
12657
|
this._elevation && this._elevation.destroy();
|
|
12652
|
-
this._elevation = null;
|
|
12653
|
-
|
|
12654
|
-
this._removeEventListener && this._removeEventListener();
|
|
12655
|
-
this._removeEventListener = null;
|
|
12658
|
+
this._elevation = null;
|
|
12656
12659
|
} //销毁
|
|
12657
12660
|
|
|
12658
12661
|
|
package/isolineanalysis/index.js
CHANGED
|
@@ -304,10 +304,7 @@ class IsolineAnalysisViewModel {
|
|
|
304
304
|
clear() {
|
|
305
305
|
this._drawManager && this._drawManager.stopDraw();
|
|
306
306
|
this._elevation && this._elevation.destroy();
|
|
307
|
-
this._elevation = null;
|
|
308
|
-
|
|
309
|
-
this._removeEventListener && this._removeEventListener();
|
|
310
|
-
this._removeEventListener = null;
|
|
307
|
+
this._elevation = null;
|
|
311
308
|
} //销毁
|
|
312
309
|
|
|
313
310
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"0.5.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"0.5.9-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"^1.1.1","echarts":"^5.3.3","js-cookie":"^3.0.1","omit.js":"^2.0.2","save":"^2.5.0","tinycolor2":"^1.4.2","vue-i18n":"^9.2.0-beta.36","xlsx":"^0.18.5","@turf/turf":"^6.5.0","css-vars-ponyfill":"^2.4.8","xe-utils":"^3.5.4"}}
|
package/scenceview/index.js
CHANGED
|
@@ -662,6 +662,7 @@ class LayerManager {
|
|
|
662
662
|
}
|
|
663
663
|
|
|
664
664
|
source.mapServerInfo = (0,util_namespaceObject.formatKQMapInfo)(mapInfo.result, serverUrl, serverName, token, null, true);
|
|
665
|
+
this._layerListData_old = this._layerListData_old.concat(source.mapServerInfo.layers_old);
|
|
665
666
|
});
|
|
666
667
|
sourcePromises.push(sourcePromise);
|
|
667
668
|
}
|
|
@@ -707,6 +708,10 @@ class LayerManager {
|
|
|
707
708
|
layerData.sourceLayers = source.mapServerInfo.layers_show;
|
|
708
709
|
} else {
|
|
709
710
|
layerData.url += "/" + layerData.renderType;
|
|
711
|
+
|
|
712
|
+
if (source.token) {
|
|
713
|
+
layerData.url += "?ua_token=" + source.token;
|
|
714
|
+
}
|
|
710
715
|
}
|
|
711
716
|
} else if (layerData.sourceType === "arcserver") {
|
|
712
717
|
if (!layerData.renderType || layerData.renderType === "rest") {
|
|
@@ -1209,6 +1214,7 @@ class LayerManager {
|
|
|
1209
1214
|
showLayers.reverse();
|
|
1210
1215
|
that._layerListData = that._layerListData.concat(showLayers); // console.log(that._layerTreeData);
|
|
1211
1216
|
// console.log(that._layerListData);
|
|
1217
|
+
// console.log(that._layerListData_old);
|
|
1212
1218
|
|
|
1213
1219
|
that.addMapServerLayers(showLayers, mapInfo.rect84);
|
|
1214
1220
|
}, error => {
|
package/slopeanalysis/index.js
CHANGED
|
@@ -326,8 +326,8 @@ class SlopeAnalysisViewModel {
|
|
|
326
326
|
|
|
327
327
|
destroy() {
|
|
328
328
|
// 移除监听事件
|
|
329
|
-
this._drawFinishedEventListener && this._drawFinishedEventListener();
|
|
330
|
-
this._drawFinishedEventListener = null;
|
|
329
|
+
this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
|
|
330
|
+
this._globaOptions._drawFinishedEventListener = null;
|
|
331
331
|
this._slopeAnalysis && this._slopeAnalysis.destroy();
|
|
332
332
|
this._slopeAnalysis = null;
|
|
333
333
|
}
|