@kq_npm/client3d_webgl_vue 4.5.22-beta → 4.5.23-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/aspectanalysis/index.js +1 -1
- package/clientPrint/index.js +11 -10
- package/excavatefillanalysis/index.js +1 -1
- package/floodanalysis/index.js +1 -1
- package/index.js +11 -10
- package/measure/index.js +4 -3
- package/package.json +1 -1
- package/sceneapp/index.js +11 -10
- package/sceneview/index.js +11 -10
- package/slopeanalysis/index.js +1 -1
- package/slopeaspectanalysis/index.js +1 -1
- package/terrainoperation/index.js +1 -1
- package/terrainprofileanalysis/index.js +1 -1
package/aspectanalysis/index.js
CHANGED
|
@@ -272,7 +272,7 @@ class AspectAnalysisViewModel {
|
|
|
272
272
|
start() {
|
|
273
273
|
// 判断是否添加了地形
|
|
274
274
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
275
|
-
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider
|
|
275
|
+
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
276
276
|
if (this._globaOptions._drawManager) {
|
|
277
277
|
this.clear();
|
|
278
278
|
this._globaOptions._drawManager.startDraw("polygon", {
|
package/clientPrint/index.js
CHANGED
|
@@ -2541,7 +2541,7 @@ class AspectAnalysisViewModel {
|
|
|
2541
2541
|
start() {
|
|
2542
2542
|
// 判断是否添加了地形
|
|
2543
2543
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
2544
|
-
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider
|
|
2544
|
+
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
2545
2545
|
if (this._globaOptions._drawManager) {
|
|
2546
2546
|
this.clear();
|
|
2547
2547
|
this._globaOptions._drawManager.startDraw("polygon", {
|
|
@@ -7882,7 +7882,7 @@ class ExcavateFillAnalysisViewModel {
|
|
|
7882
7882
|
start() {
|
|
7883
7883
|
// 判断是否添加了地形
|
|
7884
7884
|
if (this._options.viewer.terrainProvider.availability) {
|
|
7885
|
-
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider
|
|
7885
|
+
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
7886
7886
|
this._drawManager.startDraw("polygon", {
|
|
7887
7887
|
clampToGround: true
|
|
7888
7888
|
});
|
|
@@ -9825,7 +9825,7 @@ class FloodAnalysisViewModel {
|
|
|
9825
9825
|
// 判断是否添加了地形
|
|
9826
9826
|
if (this._mode === 0) {
|
|
9827
9827
|
if (this._floodModelAnalysis.viewer.terrainProvider.availability) {
|
|
9828
|
-
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider
|
|
9828
|
+
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
9829
9829
|
this.clear();
|
|
9830
9830
|
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
9831
9831
|
} else {
|
|
@@ -17031,9 +17031,9 @@ LimitHeightAnalysis.install = (Vue, opts) => {
|
|
|
17031
17031
|
|
|
17032
17032
|
|
|
17033
17033
|
|
|
17034
|
-
/*
|
|
17035
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
17036
|
-
* All rights reserved.
|
|
17034
|
+
/*
|
|
17035
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
17036
|
+
* All rights reserved.
|
|
17037
17037
|
*/
|
|
17038
17038
|
//测量操作类
|
|
17039
17039
|
class MeasureViewModel {
|
|
@@ -17109,6 +17109,7 @@ class MeasureViewModel {
|
|
|
17109
17109
|
//结束测量
|
|
17110
17110
|
stopMeasure() {
|
|
17111
17111
|
this._measureHandler.stopMeasure();
|
|
17112
|
+
this._viewer.scene.globe.depthTestAgainstTerrain = false;
|
|
17112
17113
|
}
|
|
17113
17114
|
|
|
17114
17115
|
//更新距离测量单位
|
|
@@ -36860,7 +36861,7 @@ class SlopeAnalysisViewModel {
|
|
|
36860
36861
|
start() {
|
|
36861
36862
|
// 判断是否添加了地形
|
|
36862
36863
|
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
36863
|
-
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider
|
|
36864
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
36864
36865
|
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
36865
36866
|
// 坡度过滤不需要进行绘制
|
|
36866
36867
|
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
@@ -37781,7 +37782,7 @@ class SlopeAspectAnalysisViewModel {
|
|
|
37781
37782
|
start() {
|
|
37782
37783
|
// 判断是否添加了地形
|
|
37783
37784
|
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
37784
|
-
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider
|
|
37785
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
37785
37786
|
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
37786
37787
|
// 坡度过滤不需要进行绘制
|
|
37787
37788
|
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
@@ -39072,7 +39073,7 @@ class TerrainOperationViewModel {
|
|
|
39072
39073
|
start() {
|
|
39073
39074
|
// 判断是否添加了地形
|
|
39074
39075
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
39075
|
-
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider
|
|
39076
|
+
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
39076
39077
|
this.clear();
|
|
39077
39078
|
this._drawManager.startDraw("polygon", {
|
|
39078
39079
|
clampToGround: true
|
|
@@ -39655,7 +39656,7 @@ class TerrainProfileAnalysisViewModel {
|
|
|
39655
39656
|
start() {
|
|
39656
39657
|
// 判断是否添加了地形
|
|
39657
39658
|
if (this._viewer.terrainProvider.availability) {
|
|
39658
|
-
if (this._viewer.terrainProvider && this._viewer.terrainProvider
|
|
39659
|
+
if (this._viewer.terrainProvider && this._viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
39659
39660
|
this.clear();
|
|
39660
39661
|
this._drawManager.startDraw("polyline", {
|
|
39661
39662
|
clampToGround: true
|
|
@@ -297,7 +297,7 @@ class ExcavateFillAnalysisViewModel {
|
|
|
297
297
|
start() {
|
|
298
298
|
// 判断是否添加了地形
|
|
299
299
|
if (this._options.viewer.terrainProvider.availability) {
|
|
300
|
-
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider
|
|
300
|
+
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
301
301
|
this._drawManager.startDraw("polygon", {
|
|
302
302
|
clampToGround: true
|
|
303
303
|
});
|
package/floodanalysis/index.js
CHANGED
|
@@ -351,7 +351,7 @@ class FloodAnalysisViewModel {
|
|
|
351
351
|
// 判断是否添加了地形
|
|
352
352
|
if (this._mode === 0) {
|
|
353
353
|
if (this._floodModelAnalysis.viewer.terrainProvider.availability) {
|
|
354
|
-
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider
|
|
354
|
+
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
355
355
|
this.clear();
|
|
356
356
|
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
357
357
|
} else {
|
package/index.js
CHANGED
|
@@ -8313,9 +8313,9 @@ BaseterrainGallery.install = (Vue, opts) => {
|
|
|
8313
8313
|
|
|
8314
8314
|
|
|
8315
8315
|
|
|
8316
|
-
/*
|
|
8317
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
8318
|
-
* All rights reserved.
|
|
8316
|
+
/*
|
|
8317
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
8318
|
+
* All rights reserved.
|
|
8319
8319
|
*/
|
|
8320
8320
|
//测量操作类
|
|
8321
8321
|
class MeasureViewModel {
|
|
@@ -8391,6 +8391,7 @@ class MeasureViewModel {
|
|
|
8391
8391
|
//结束测量
|
|
8392
8392
|
stopMeasure() {
|
|
8393
8393
|
this._measureHandler.stopMeasure();
|
|
8394
|
+
this._viewer.scene.globe.depthTestAgainstTerrain = false;
|
|
8394
8395
|
}
|
|
8395
8396
|
|
|
8396
8397
|
//更新距离测量单位
|
|
@@ -12808,7 +12809,7 @@ class TerrainProfileAnalysisViewModel {
|
|
|
12808
12809
|
start() {
|
|
12809
12810
|
// 判断是否添加了地形
|
|
12810
12811
|
if (this._viewer.terrainProvider.availability) {
|
|
12811
|
-
if (this._viewer.terrainProvider && this._viewer.terrainProvider
|
|
12812
|
+
if (this._viewer.terrainProvider && this._viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
12812
12813
|
this.clear();
|
|
12813
12814
|
this._drawManager.startDraw("polyline", {
|
|
12814
12815
|
clampToGround: true
|
|
@@ -21724,7 +21725,7 @@ class TerrainOperationViewModel {
|
|
|
21724
21725
|
start() {
|
|
21725
21726
|
// 判断是否添加了地形
|
|
21726
21727
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
21727
|
-
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider
|
|
21728
|
+
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
21728
21729
|
this.clear();
|
|
21729
21730
|
this._drawManager.startDraw("polygon", {
|
|
21730
21731
|
clampToGround: true
|
|
@@ -22201,7 +22202,7 @@ class ExcavateFillAnalysisViewModel {
|
|
|
22201
22202
|
start() {
|
|
22202
22203
|
// 判断是否添加了地形
|
|
22203
22204
|
if (this._options.viewer.terrainProvider.availability) {
|
|
22204
|
-
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider
|
|
22205
|
+
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
22205
22206
|
this._drawManager.startDraw("polygon", {
|
|
22206
22207
|
clampToGround: true
|
|
22207
22208
|
});
|
|
@@ -22758,7 +22759,7 @@ class FloodAnalysisViewModel {
|
|
|
22758
22759
|
// 判断是否添加了地形
|
|
22759
22760
|
if (this._mode === 0) {
|
|
22760
22761
|
if (this._floodModelAnalysis.viewer.terrainProvider.availability) {
|
|
22761
|
-
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider
|
|
22762
|
+
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
22762
22763
|
this.clear();
|
|
22763
22764
|
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
22764
22765
|
} else {
|
|
@@ -23554,7 +23555,7 @@ class SlopeAnalysisViewModel {
|
|
|
23554
23555
|
start() {
|
|
23555
23556
|
// 判断是否添加了地形
|
|
23556
23557
|
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
23557
|
-
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider
|
|
23558
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
23558
23559
|
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
23559
23560
|
// 坡度过滤不需要进行绘制
|
|
23560
23561
|
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
@@ -24360,7 +24361,7 @@ class AspectAnalysisViewModel {
|
|
|
24360
24361
|
start() {
|
|
24361
24362
|
// 判断是否添加了地形
|
|
24362
24363
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
24363
|
-
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider
|
|
24364
|
+
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
24364
24365
|
if (this._globaOptions._drawManager) {
|
|
24365
24366
|
this.clear();
|
|
24366
24367
|
this._globaOptions._drawManager.startDraw("polygon", {
|
|
@@ -24880,7 +24881,7 @@ class SlopeAspectAnalysisViewModel {
|
|
|
24880
24881
|
start() {
|
|
24881
24882
|
// 判断是否添加了地形
|
|
24882
24883
|
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
24883
|
-
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider
|
|
24884
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
24884
24885
|
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
24885
24886
|
// 坡度过滤不需要进行绘制
|
|
24886
24887
|
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
package/measure/index.js
CHANGED
|
@@ -47,9 +47,9 @@ element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install =
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
/*
|
|
51
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
52
|
-
* All rights reserved.
|
|
50
|
+
/*
|
|
51
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
52
|
+
* All rights reserved.
|
|
53
53
|
*/
|
|
54
54
|
//测量操作类
|
|
55
55
|
class MeasureViewModel {
|
|
@@ -125,6 +125,7 @@ class MeasureViewModel {
|
|
|
125
125
|
//结束测量
|
|
126
126
|
stopMeasure() {
|
|
127
127
|
this._measureHandler.stopMeasure();
|
|
128
|
+
this._viewer.scene.globe.depthTestAgainstTerrain = false;
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
//更新距离测量单位
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.5.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.5.23-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"sdkNames":["@kq_npm/client_icons_vue"],"restrictedVersion":true,"validateSDK":true,"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"save":"2.5.0","html2canvas":"1.4.1","papaparse":"5.4.1"}}
|
package/sceneapp/index.js
CHANGED
|
@@ -2541,7 +2541,7 @@ class AspectAnalysisViewModel {
|
|
|
2541
2541
|
start() {
|
|
2542
2542
|
// 判断是否添加了地形
|
|
2543
2543
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
2544
|
-
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider
|
|
2544
|
+
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
2545
2545
|
if (this._globaOptions._drawManager) {
|
|
2546
2546
|
this.clear();
|
|
2547
2547
|
this._globaOptions._drawManager.startDraw("polygon", {
|
|
@@ -7880,7 +7880,7 @@ class ExcavateFillAnalysisViewModel {
|
|
|
7880
7880
|
start() {
|
|
7881
7881
|
// 判断是否添加了地形
|
|
7882
7882
|
if (this._options.viewer.terrainProvider.availability) {
|
|
7883
|
-
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider
|
|
7883
|
+
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
7884
7884
|
this._drawManager.startDraw("polygon", {
|
|
7885
7885
|
clampToGround: true
|
|
7886
7886
|
});
|
|
@@ -9823,7 +9823,7 @@ class FloodAnalysisViewModel {
|
|
|
9823
9823
|
// 判断是否添加了地形
|
|
9824
9824
|
if (this._mode === 0) {
|
|
9825
9825
|
if (this._floodModelAnalysis.viewer.terrainProvider.availability) {
|
|
9826
|
-
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider
|
|
9826
|
+
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
9827
9827
|
this.clear();
|
|
9828
9828
|
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
9829
9829
|
} else {
|
|
@@ -17029,9 +17029,9 @@ LimitHeightAnalysis.install = (Vue, opts) => {
|
|
|
17029
17029
|
|
|
17030
17030
|
|
|
17031
17031
|
|
|
17032
|
-
/*
|
|
17033
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
17034
|
-
* All rights reserved.
|
|
17032
|
+
/*
|
|
17033
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
17034
|
+
* All rights reserved.
|
|
17035
17035
|
*/
|
|
17036
17036
|
//测量操作类
|
|
17037
17037
|
class MeasureViewModel {
|
|
@@ -17107,6 +17107,7 @@ class MeasureViewModel {
|
|
|
17107
17107
|
//结束测量
|
|
17108
17108
|
stopMeasure() {
|
|
17109
17109
|
this._measureHandler.stopMeasure();
|
|
17110
|
+
this._viewer.scene.globe.depthTestAgainstTerrain = false;
|
|
17110
17111
|
}
|
|
17111
17112
|
|
|
17112
17113
|
//更新距离测量单位
|
|
@@ -36859,7 +36860,7 @@ class SlopeAnalysisViewModel {
|
|
|
36859
36860
|
start() {
|
|
36860
36861
|
// 判断是否添加了地形
|
|
36861
36862
|
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
36862
|
-
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider
|
|
36863
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
36863
36864
|
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
36864
36865
|
// 坡度过滤不需要进行绘制
|
|
36865
36866
|
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
@@ -37780,7 +37781,7 @@ class SlopeAspectAnalysisViewModel {
|
|
|
37780
37781
|
start() {
|
|
37781
37782
|
// 判断是否添加了地形
|
|
37782
37783
|
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
37783
|
-
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider
|
|
37784
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
37784
37785
|
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
37785
37786
|
// 坡度过滤不需要进行绘制
|
|
37786
37787
|
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
@@ -39071,7 +39072,7 @@ class TerrainOperationViewModel {
|
|
|
39071
39072
|
start() {
|
|
39072
39073
|
// 判断是否添加了地形
|
|
39073
39074
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
39074
|
-
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider
|
|
39075
|
+
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
39075
39076
|
this.clear();
|
|
39076
39077
|
this._drawManager.startDraw("polygon", {
|
|
39077
39078
|
clampToGround: true
|
|
@@ -39654,7 +39655,7 @@ class TerrainProfileAnalysisViewModel {
|
|
|
39654
39655
|
start() {
|
|
39655
39656
|
// 判断是否添加了地形
|
|
39656
39657
|
if (this._viewer.terrainProvider.availability) {
|
|
39657
|
-
if (this._viewer.terrainProvider && this._viewer.terrainProvider
|
|
39658
|
+
if (this._viewer.terrainProvider && this._viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
39658
39659
|
this.clear();
|
|
39659
39660
|
this._drawManager.startDraw("polyline", {
|
|
39660
39661
|
clampToGround: true
|
package/sceneview/index.js
CHANGED
|
@@ -2541,7 +2541,7 @@ class AspectAnalysisViewModel {
|
|
|
2541
2541
|
start() {
|
|
2542
2542
|
// 判断是否添加了地形
|
|
2543
2543
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
2544
|
-
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider
|
|
2544
|
+
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
2545
2545
|
if (this._globaOptions._drawManager) {
|
|
2546
2546
|
this.clear();
|
|
2547
2547
|
this._globaOptions._drawManager.startDraw("polygon", {
|
|
@@ -7880,7 +7880,7 @@ class ExcavateFillAnalysisViewModel {
|
|
|
7880
7880
|
start() {
|
|
7881
7881
|
// 判断是否添加了地形
|
|
7882
7882
|
if (this._options.viewer.terrainProvider.availability) {
|
|
7883
|
-
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider
|
|
7883
|
+
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
7884
7884
|
this._drawManager.startDraw("polygon", {
|
|
7885
7885
|
clampToGround: true
|
|
7886
7886
|
});
|
|
@@ -9823,7 +9823,7 @@ class FloodAnalysisViewModel {
|
|
|
9823
9823
|
// 判断是否添加了地形
|
|
9824
9824
|
if (this._mode === 0) {
|
|
9825
9825
|
if (this._floodModelAnalysis.viewer.terrainProvider.availability) {
|
|
9826
|
-
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider
|
|
9826
|
+
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
9827
9827
|
this.clear();
|
|
9828
9828
|
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
9829
9829
|
} else {
|
|
@@ -17029,9 +17029,9 @@ LimitHeightAnalysis.install = (Vue, opts) => {
|
|
|
17029
17029
|
|
|
17030
17030
|
|
|
17031
17031
|
|
|
17032
|
-
/*
|
|
17033
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
17034
|
-
* All rights reserved.
|
|
17032
|
+
/*
|
|
17033
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
17034
|
+
* All rights reserved.
|
|
17035
17035
|
*/
|
|
17036
17036
|
//测量操作类
|
|
17037
17037
|
class MeasureViewModel {
|
|
@@ -17107,6 +17107,7 @@ class MeasureViewModel {
|
|
|
17107
17107
|
//结束测量
|
|
17108
17108
|
stopMeasure() {
|
|
17109
17109
|
this._measureHandler.stopMeasure();
|
|
17110
|
+
this._viewer.scene.globe.depthTestAgainstTerrain = false;
|
|
17110
17111
|
}
|
|
17111
17112
|
|
|
17112
17113
|
//更新距离测量单位
|
|
@@ -36859,7 +36860,7 @@ class SlopeAnalysisViewModel {
|
|
|
36859
36860
|
start() {
|
|
36860
36861
|
// 判断是否添加了地形
|
|
36861
36862
|
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
36862
|
-
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider
|
|
36863
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
36863
36864
|
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
36864
36865
|
// 坡度过滤不需要进行绘制
|
|
36865
36866
|
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
@@ -37780,7 +37781,7 @@ class SlopeAspectAnalysisViewModel {
|
|
|
37780
37781
|
start() {
|
|
37781
37782
|
// 判断是否添加了地形
|
|
37782
37783
|
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
37783
|
-
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider
|
|
37784
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
37784
37785
|
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
37785
37786
|
// 坡度过滤不需要进行绘制
|
|
37786
37787
|
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
@@ -39071,7 +39072,7 @@ class TerrainOperationViewModel {
|
|
|
39071
39072
|
start() {
|
|
39072
39073
|
// 判断是否添加了地形
|
|
39073
39074
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
39074
|
-
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider
|
|
39075
|
+
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
39075
39076
|
this.clear();
|
|
39076
39077
|
this._drawManager.startDraw("polygon", {
|
|
39077
39078
|
clampToGround: true
|
|
@@ -39654,7 +39655,7 @@ class TerrainProfileAnalysisViewModel {
|
|
|
39654
39655
|
start() {
|
|
39655
39656
|
// 判断是否添加了地形
|
|
39656
39657
|
if (this._viewer.terrainProvider.availability) {
|
|
39657
|
-
if (this._viewer.terrainProvider && this._viewer.terrainProvider
|
|
39658
|
+
if (this._viewer.terrainProvider && this._viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
39658
39659
|
this.clear();
|
|
39659
39660
|
this._drawManager.startDraw("polyline", {
|
|
39660
39661
|
clampToGround: true
|
package/slopeanalysis/index.js
CHANGED
|
@@ -387,7 +387,7 @@ class SlopeAnalysisViewModel {
|
|
|
387
387
|
start() {
|
|
388
388
|
// 判断是否添加了地形
|
|
389
389
|
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
390
|
-
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider
|
|
390
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
391
391
|
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
392
392
|
// 坡度过滤不需要进行绘制
|
|
393
393
|
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
@@ -383,7 +383,7 @@ class SlopeAspectAnalysisViewModel {
|
|
|
383
383
|
start() {
|
|
384
384
|
// 判断是否添加了地形
|
|
385
385
|
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
386
|
-
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider
|
|
386
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
387
387
|
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
388
388
|
// 坡度过滤不需要进行绘制
|
|
389
389
|
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
@@ -382,7 +382,7 @@ class TerrainOperationViewModel {
|
|
|
382
382
|
start() {
|
|
383
383
|
// 判断是否添加了地形
|
|
384
384
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
385
|
-
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider
|
|
385
|
+
if (this._globaOptions.viewer.terrainProvider && this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
386
386
|
this.clear();
|
|
387
387
|
this._drawManager.startDraw("polygon", {
|
|
388
388
|
clampToGround: true
|
|
@@ -369,7 +369,7 @@ class TerrainProfileAnalysisViewModel {
|
|
|
369
369
|
start() {
|
|
370
370
|
// 判断是否添加了地形
|
|
371
371
|
if (this._viewer.terrainProvider.availability) {
|
|
372
|
-
if (this._viewer.terrainProvider && this._viewer.terrainProvider
|
|
372
|
+
if (this._viewer.terrainProvider && this._viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
373
373
|
this.clear();
|
|
374
374
|
this._drawManager.startDraw("polyline", {
|
|
375
375
|
clampToGround: true
|