@kq_npm/client3d_webgl_vue 4.5.18 → 4.5.19-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/adddata/index.js +171 -29
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +1 -1
- package/clientPrint/index.js +487 -152
- package/excavatefillanalysis/index.js +1 -1
- package/floodanalysis/index.js +1 -1
- package/heatmap3d/index.js +0 -1
- package/index.js +483 -152
- package/modelselect/index.js +3 -3
- package/package.json +1 -1
- package/sceneapp/index.js +225 -53
- package/sceneview/index.js +487 -152
- package/slopeanalysis/index.js +1 -1
- package/slopeaspectanalysis/index.js +1 -1
- package/style.css +1 -1
- package/terrainoperation/index.js +4 -6
- package/terrainprofileanalysis/index.js +1 -1
- package/videofusion/index.js +17 -17
- package/videoproject/index.js +18 -18
|
@@ -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
|
|
300
|
+
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider.constructor.name == "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
|
|
354
|
+
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider.constructor.name == "CesiumTerrainProvider") {
|
|
355
355
|
this.clear();
|
|
356
356
|
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
357
357
|
} else {
|