@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
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
|
|
390
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider.constructor.name == "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
|
|
386
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider && this._globaOptions.viewModel.viewer.terrainProvider.constructor.name == "CesiumTerrainProvider") {
|
|
387
387
|
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
388
388
|
// 坡度过滤不需要进行绘制
|
|
389
389
|
this._slopeAnalysis = new Cesium.Kq3dSlope({
|