@kq_npm/client3d_webgl_vue 0.2.2-beta → 0.2.3-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.
Files changed (58) hide show
  1. package/_libs/ol/ol.js +2 -2
  2. package/adddata/style/css.js +1 -1
  3. package/adddata/style/index.js +1 -1
  4. package/baseterraingallery/style/css.js +1 -1
  5. package/baseterraingallery/style/index.js +1 -1
  6. package/boxclip/style/css.js +1 -1
  7. package/boxclip/style/index.js +1 -1
  8. package/comparemap/style/css.js +1 -1
  9. package/comparemap/style/index.js +1 -1
  10. package/css.js +1 -1
  11. package/excavatefillanalysis/index.js +27 -6
  12. package/excavatefillanalysis/style/css.js +1 -1
  13. package/excavatefillanalysis/style/index.js +1 -1
  14. package/flight/index.js +16 -6
  15. package/flight/style/css.js +1 -1
  16. package/flight/style/index.js +1 -1
  17. package/floodanalysis/index.js +27 -6
  18. package/floodanalysis/style/css.js +1 -1
  19. package/floodanalysis/style/index.js +1 -1
  20. package/gpuspatialquery/style/css.js +1 -1
  21. package/gpuspatialquery/style/index.js +1 -1
  22. package/index.js +85 -43
  23. package/isolineanalysis/index.js +27 -7
  24. package/isolineanalysis/style/css.js +1 -1
  25. package/isolineanalysis/style/index.js +1 -1
  26. package/measure/style/css.js +1 -1
  27. package/measure/style/index.js +1 -1
  28. package/modelselect/style/css.js +1 -1
  29. package/modelselect/style/index.js +1 -1
  30. package/package.json +1 -1
  31. package/particleeffect/style/css.js +1 -1
  32. package/particleeffect/style/index.js +1 -1
  33. package/planeclip/style/css.js +1 -1
  34. package/planeclip/style/index.js +1 -1
  35. package/profileanalysis/style/css.js +1 -1
  36. package/profileanalysis/style/index.js +1 -1
  37. package/roller/style/css.js +1 -1
  38. package/roller/style/index.js +1 -1
  39. package/scenceview/style/css.js +1 -1
  40. package/scenceview/style/index.js +1 -1
  41. package/screenshot/style/css.js +1 -1
  42. package/screenshot/style/index.js +1 -1
  43. package/shadowanalysis/style/css.js +1 -1
  44. package/shadowanalysis/style/index.js +1 -1
  45. package/sightlineanalysis/style/css.js +1 -1
  46. package/sightlineanalysis/style/index.js +1 -1
  47. package/skylineanalysis/style/css.js +1 -1
  48. package/skylineanalysis/style/index.js +1 -1
  49. package/slopeanalysis/index.js +38 -17
  50. package/slopeanalysis/style/css.js +1 -1
  51. package/slopeanalysis/style/index.js +1 -1
  52. package/terrainoperation/index.js +29 -8
  53. package/terrainoperation/style/css.js +1 -1
  54. package/terrainoperation/style/index.js +1 -1
  55. package/viewshedanalysis/style/css.js +1 -1
  56. package/viewshedanalysis/style/index.js +1 -1
  57. package/weathereffect/style/css.js +1 -1
  58. package/weathereffect/style/index.js +1 -1
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./adddata.css?inline");
3
+ require("./adddata.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./adddata.css?inline");
3
+ require("./adddata.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./baseterraingallery.css?inline");
3
+ require("./baseterraingallery.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./baseterraingallery.css?inline");
3
+ require("./baseterraingallery.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./boxclip.css?inline");
3
+ require("./boxclip.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./boxclip.css?inline");
3
+ require("./boxclip.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./comparemap.css?inline");
3
+ require("./comparemap.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./comparemap.css?inline");
3
+ require("./comparemap.css?inline=true");
package/css.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./style.css?inline");
3
+ require("./style.css?inline=true");
@@ -76,11 +76,27 @@ function _defineProperty(obj, key, value) {
76
76
 
77
77
  return obj;
78
78
  }
79
+ ;// CONCATENATED MODULE: external "element-plus/es"
80
+ var es_namespaceObject = require("element-plus/es");
81
+ ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
82
+ var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
83
+ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
84
+ ;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
85
+
86
+
87
+
88
+ es_namespaceObject.ElMessage.install = (Vue, opts) => {
89
+ init_js_default()(Vue, opts);
90
+ Vue.component("KqMessage", es_namespaceObject.ElMessage);
91
+ };
92
+
93
+ /* harmony default export */ var message = (es_namespaceObject.ElMessage);
79
94
  ;// CONCATENATED MODULE: external "@turf/turf"
80
95
  var turf_namespaceObject = require("@turf/turf");
81
96
  ;// CONCATENATED MODULE: ./src/webgl/excavatefillanalysis/ExcavateFillAnalysisViewModel.js
82
97
 
83
98
 
99
+
84
100
  window.turf = turf_namespaceObject; //填挖方分析逻辑类
85
101
 
86
102
  class ExcavateFillAnalysisViewModel {
@@ -137,9 +153,17 @@ class ExcavateFillAnalysisViewModel {
137
153
 
138
154
 
139
155
  start() {
140
- this._drawManager.startDraw("polygon", {
141
- clampToGround: true
142
- });
156
+ // 判断是否添加了地形
157
+ if (this._options.viewer.terrainProvider.availability) {
158
+ this._drawManager.startDraw("polygon", {
159
+ clampToGround: true
160
+ });
161
+ } else {
162
+ message({
163
+ message: "请加载地形后分析!",
164
+ type: "warning"
165
+ });
166
+ }
143
167
  } //清除全部结果
144
168
 
145
169
 
@@ -582,9 +606,6 @@ const __default__ = {
582
606
  const __exports__ = ExcavateFillAnalysisvue_type_script_setup_true_lang_js;
583
607
 
584
608
  /* harmony default export */ var ExcavateFillAnalysis = (__exports__);
585
- ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
586
- var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
587
- var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
588
609
  ;// CONCATENATED MODULE: ./src/webgl/excavatefillanalysis/index.js
589
610
 
590
611
 
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./excavatefillanalysis.css?inline");
3
+ require("./excavatefillanalysis.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./excavatefillanalysis.css?inline");
3
+ require("./excavatefillanalysis.css?inline=true");
package/flight/index.js CHANGED
@@ -57,8 +57,21 @@ __webpack_require__.d(__webpack_exports__, {
57
57
 
58
58
  ;// CONCATENATED MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
59
59
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject = require("vue");
60
- ;// CONCATENATED MODULE: external "element-plus"
61
- var external_element_plus_namespaceObject = require("element-plus");
60
+ ;// CONCATENATED MODULE: external "element-plus/es"
61
+ var es_namespaceObject = require("element-plus/es");
62
+ ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
63
+ var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
64
+ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
65
+ ;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
66
+
67
+
68
+
69
+ es_namespaceObject.ElMessage.install = (Vue, opts) => {
70
+ init_js_default()(Vue, opts);
71
+ Vue.component("KqMessage", es_namespaceObject.ElMessage);
72
+ };
73
+
74
+ /* harmony default export */ var message = (es_namespaceObject.ElMessage);
62
75
  ;// CONCATENATED MODULE: external "@element-plus/icons-vue"
63
76
  var icons_vue_namespaceObject = require("@element-plus/icons-vue");
64
77
  ;// CONCATENATED MODULE: external "@kq_npm/client_icons_vue"
@@ -436,7 +449,7 @@ const __default__ = {
436
449
 
437
450
  function save() {
438
451
  if (pathName.value === "") {
439
- (0,external_element_plus_namespaceObject.ElMessage)({
452
+ message({
440
453
  message: "请输入路径名称!",
441
454
  type: "warning"
442
455
  });
@@ -946,9 +959,6 @@ const __default__ = {
946
959
  const __exports__ = Flightvue_type_script_setup_true_lang_js;
947
960
 
948
961
  /* harmony default export */ var Flight = (__exports__);
949
- ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
950
- var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
951
- var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
952
962
  ;// CONCATENATED MODULE: ./src/webgl/flight/index.js
953
963
 
954
964
 
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./flight.css?inline");
3
+ require("./flight.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./flight.css?inline");
3
+ require("./flight.css?inline=true");
@@ -74,10 +74,26 @@ function _defineProperty(obj, key, value) {
74
74
 
75
75
  return obj;
76
76
  }
77
+ ;// CONCATENATED MODULE: external "element-plus/es"
78
+ var es_namespaceObject = require("element-plus/es");
79
+ ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
80
+ var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
81
+ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
82
+ ;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
83
+
84
+
85
+
86
+ es_namespaceObject.ElMessage.install = (Vue, opts) => {
87
+ init_js_default()(Vue, opts);
88
+ Vue.component("KqMessage", es_namespaceObject.ElMessage);
89
+ };
90
+
91
+ /* harmony default export */ var message = (es_namespaceObject.ElMessage);
77
92
  ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
78
93
  var const_image_namespaceObject = require("@kq_npm/client_common_vue/_utils/const-image");
79
94
  ;// CONCATENATED MODULE: ./src/webgl/floodanalysis/FloodAnalysisViewModel.js
80
95
 
96
+
81
97
  //地形淹没分析逻辑类
82
98
 
83
99
  class FloodAnalysisViewModel {
@@ -168,9 +184,17 @@ class FloodAnalysisViewModel {
168
184
 
169
185
 
170
186
  start() {
171
- this.clear();
172
-
173
- this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
187
+ // 判断是否添加了地形
188
+ if (this._floodModelAnalysis.viewer.terrainProvider.availability) {
189
+ this.clear();
190
+
191
+ this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
192
+ } else {
193
+ message({
194
+ message: "请加载地形后分析!",
195
+ type: "warning"
196
+ });
197
+ }
174
198
  } //清除全部结果
175
199
 
176
200
 
@@ -831,9 +855,6 @@ const __default__ = {
831
855
  const __exports__ = FloodAnalysisvue_type_script_setup_true_lang_js;
832
856
 
833
857
  /* harmony default export */ var FloodAnalysis = (__exports__);
834
- ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
835
- var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
836
- var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
837
858
  ;// CONCATENATED MODULE: ./src/webgl/floodanalysis/index.js
838
859
 
839
860
 
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./floodanalysis.css?inline");
3
+ require("./floodanalysis.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./floodanalysis.css?inline");
3
+ require("./floodanalysis.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./gpuspatialquery.css?inline");
3
+ require("./gpuspatialquery.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./gpuspatialquery.css?inline");
3
+ require("./gpuspatialquery.css?inline=true");
package/index.js CHANGED
@@ -3115,8 +3115,18 @@ Measure.install = (Vue, opts) => {
3115
3115
  };
3116
3116
 
3117
3117
 
3118
- ;// CONCATENATED MODULE: external "element-plus"
3119
- var external_element_plus_namespaceObject = require("element-plus");
3118
+ ;// CONCATENATED MODULE: external "element-plus/es"
3119
+ var es_namespaceObject = require("element-plus/es");
3120
+ ;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
3121
+
3122
+
3123
+
3124
+ es_namespaceObject.ElMessage.install = (Vue, opts) => {
3125
+ init_js_default()(Vue, opts);
3126
+ Vue.component("KqMessage", es_namespaceObject.ElMessage);
3127
+ };
3128
+
3129
+ /* harmony default export */ var message = (es_namespaceObject.ElMessage);
3120
3130
  ;// CONCATENATED MODULE: ./src/webgl/flight/FlightViewModel.js
3121
3131
 
3122
3132
  //飞行操作类
@@ -3473,7 +3483,7 @@ const Flightvue_type_script_setup_true_lang_js_default_ = {
3473
3483
 
3474
3484
  function save() {
3475
3485
  if (pathName.value === "") {
3476
- (0,external_element_plus_namespaceObject.ElMessage)({
3486
+ message({
3477
3487
  message: "请输入路径名称!",
3478
3488
  type: "warning"
3479
3489
  });
@@ -8582,7 +8592,8 @@ SkylineAnalysis.install = (Vue, opts) => {
8582
8592
 
8583
8593
  ;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
8584
8594
 
8585
- //地形淹没分析逻辑类
8595
+ //地形淹没分析逻辑类
8596
+
8586
8597
  class TerrainOperationViewModel {
8587
8598
  constructor(scenceView, viewModel) {
8588
8599
  _defineProperty(this, "_terrainexcavationext", null);
@@ -8694,11 +8705,19 @@ class TerrainOperationViewModel {
8694
8705
 
8695
8706
 
8696
8707
  start() {
8697
- this.clear();
8708
+ // 判断是否添加了地形
8709
+ if (this._globaOptions.viewer.terrainProvider.availability) {
8710
+ this.clear();
8698
8711
 
8699
- this._drawManager.startDraw("polygon", {
8700
- clampToGround: true
8701
- });
8712
+ this._drawManager.startDraw("polygon", {
8713
+ clampToGround: true
8714
+ });
8715
+ } else {
8716
+ message({
8717
+ message: "请加载地形后分析!",
8718
+ type: "warning"
8719
+ });
8720
+ }
8702
8721
  } //改变分析类型
8703
8722
 
8704
8723
 
@@ -9009,6 +9028,7 @@ TerrainOperation.install = (Vue, opts) => {
9009
9028
  ;// CONCATENATED MODULE: ./src/webgl/excavatefillanalysis/ExcavateFillAnalysisViewModel.js
9010
9029
 
9011
9030
 
9031
+
9012
9032
  window.turf = turf_namespaceObject; //填挖方分析逻辑类
9013
9033
 
9014
9034
  class ExcavateFillAnalysisViewModel {
@@ -9065,9 +9085,17 @@ class ExcavateFillAnalysisViewModel {
9065
9085
 
9066
9086
 
9067
9087
  start() {
9068
- this._drawManager.startDraw("polygon", {
9069
- clampToGround: true
9070
- });
9088
+ // 判断是否添加了地形
9089
+ if (this._options.viewer.terrainProvider.availability) {
9090
+ this._drawManager.startDraw("polygon", {
9091
+ clampToGround: true
9092
+ });
9093
+ } else {
9094
+ message({
9095
+ message: "请加载地形后分析!",
9096
+ type: "warning"
9097
+ });
9098
+ }
9071
9099
  } //清除全部结果
9072
9100
 
9073
9101
 
@@ -9523,6 +9551,7 @@ ExcavateFillAnalysis.install = (Vue, opts) => {
9523
9551
 
9524
9552
  ;// CONCATENATED MODULE: ./src/webgl/floodanalysis/FloodAnalysisViewModel.js
9525
9553
 
9554
+
9526
9555
  //地形淹没分析逻辑类
9527
9556
 
9528
9557
  class FloodAnalysisViewModel {
@@ -9613,9 +9642,17 @@ class FloodAnalysisViewModel {
9613
9642
 
9614
9643
 
9615
9644
  start() {
9616
- this.clear();
9645
+ // 判断是否添加了地形
9646
+ if (this._floodModelAnalysis.viewer.terrainProvider.availability) {
9647
+ this.clear();
9617
9648
 
9618
- this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
9649
+ this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
9650
+ } else {
9651
+ message({
9652
+ message: "请加载地形后分析!",
9653
+ type: "warning"
9654
+ });
9655
+ }
9619
9656
  } //清除全部结果
9620
9657
 
9621
9658
 
@@ -10289,6 +10326,7 @@ FloodAnalysis.install = (Vue, opts) => {
10289
10326
 
10290
10327
  ;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysisViewModel.js
10291
10328
 
10329
+
10292
10330
  // 分析逻辑类
10293
10331
 
10294
10332
  class SlopeAnalysisViewModel {
@@ -10395,22 +10433,30 @@ class SlopeAnalysisViewModel {
10395
10433
 
10396
10434
 
10397
10435
  start() {
10398
- if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
10399
- // 坡度过滤不需要进行绘制
10400
- this._slopeAnalysis = new Cesium.Kq3dSlope({
10401
- viewer: this._globaOptions.viewer,
10402
- positions: this._defaultPositions,
10403
- isFilter: true,
10404
- minSlope: this._globaOptions.viewModel.minSlope,
10405
- maxSlope: this._globaOptions.viewModel.maxSlope,
10406
- color: Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha))
10407
- });
10408
- } else {
10409
- if (this._globaOptions._drawManager) {
10410
- this._globaOptions._drawManager.startDraw("polygon", {
10411
- clampToGround: true
10436
+ // 判断是否添加了地形
10437
+ if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
10438
+ if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
10439
+ // 坡度过滤不需要进行绘制
10440
+ this._slopeAnalysis = new Cesium.Kq3dSlope({
10441
+ viewer: this._globaOptions.viewer,
10442
+ positions: this._defaultPositions,
10443
+ isFilter: true,
10444
+ minSlope: this._globaOptions.viewModel.minSlope,
10445
+ maxSlope: this._globaOptions.viewModel.maxSlope,
10446
+ color: Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha))
10412
10447
  });
10448
+ } else {
10449
+ if (this._globaOptions._drawManager) {
10450
+ this._globaOptions._drawManager.startDraw("polygon", {
10451
+ clampToGround: true
10452
+ });
10453
+ }
10413
10454
  }
10455
+ } else {
10456
+ message({
10457
+ message: "请加载地形后分析!",
10458
+ type: "warning"
10459
+ });
10414
10460
  }
10415
10461
  } //修改填充样式
10416
10462
 
@@ -11257,6 +11303,7 @@ SlopeAnalysis.install = (Vue, opts) => {
11257
11303
 
11258
11304
  ;// CONCATENATED MODULE: ./src/webgl/isolineanalysis/IsolineAnalysisViewModel.js
11259
11305
 
11306
+
11260
11307
  //等值线分析逻辑类
11261
11308
 
11262
11309
  class IsolineAnalysisViewModel {
@@ -11464,11 +11511,18 @@ class IsolineAnalysisViewModel {
11464
11511
 
11465
11512
  that._elevation = new Cesium.Kq3dContourAnalysis(that._options);
11466
11513
  }
11467
- });
11514
+ }); // 判断是否添加了地形
11468
11515
 
11469
- this._drawManager.startDraw("polygon", {
11470
- clampToGround: true
11471
- });
11516
+ if (this._options.viewer.terrainProvider.availability) {
11517
+ this._drawManager.startDraw("polygon", {
11518
+ clampToGround: true
11519
+ });
11520
+ } else {
11521
+ message({
11522
+ message: "请加载地形后分析!",
11523
+ type: "warning"
11524
+ });
11525
+ }
11472
11526
  } //清除全部结果
11473
11527
 
11474
11528
 
@@ -15334,18 +15388,6 @@ PlaneClip.install = (Vue, opts) => {
15334
15388
  };
15335
15389
 
15336
15390
 
15337
- ;// CONCATENATED MODULE: external "element-plus/es"
15338
- var es_namespaceObject = require("element-plus/es");
15339
- ;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
15340
-
15341
-
15342
-
15343
- es_namespaceObject.ElMessage.install = (Vue, opts) => {
15344
- init_js_default()(Vue, opts);
15345
- Vue.component("KqMessage", es_namespaceObject.ElMessage);
15346
- };
15347
-
15348
- /* harmony default export */ var message = (es_namespaceObject.ElMessage);
15349
15391
  ;// CONCATENATED MODULE: external "@kq_npm/client3d_webgl_vue/_libs/ol/ol"
15350
15392
  var ol_namespaceObject = require("@kq_npm/client3d_webgl_vue/_libs/ol/ol");
15351
15393
  var ol_default = /*#__PURE__*/__webpack_require__.n(ol_namespaceObject);
@@ -76,8 +76,24 @@ function _defineProperty(obj, key, value) {
76
76
  }
77
77
  ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
78
78
  var const_image_namespaceObject = require("@kq_npm/client_common_vue/_utils/const-image");
79
+ ;// CONCATENATED MODULE: external "element-plus/es"
80
+ var es_namespaceObject = require("element-plus/es");
81
+ ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
82
+ var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
83
+ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
84
+ ;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
85
+
86
+
87
+
88
+ es_namespaceObject.ElMessage.install = (Vue, opts) => {
89
+ init_js_default()(Vue, opts);
90
+ Vue.component("KqMessage", es_namespaceObject.ElMessage);
91
+ };
92
+
93
+ /* harmony default export */ var message = (es_namespaceObject.ElMessage);
79
94
  ;// CONCATENATED MODULE: ./src/webgl/isolineanalysis/IsolineAnalysisViewModel.js
80
95
 
96
+
81
97
  //等值线分析逻辑类
82
98
 
83
99
  class IsolineAnalysisViewModel {
@@ -285,11 +301,18 @@ class IsolineAnalysisViewModel {
285
301
 
286
302
  that._elevation = new Cesium.Kq3dContourAnalysis(that._options);
287
303
  }
288
- });
304
+ }); // 判断是否添加了地形
289
305
 
290
- this._drawManager.startDraw("polygon", {
291
- clampToGround: true
292
- });
306
+ if (this._options.viewer.terrainProvider.availability) {
307
+ this._drawManager.startDraw("polygon", {
308
+ clampToGround: true
309
+ });
310
+ } else {
311
+ message({
312
+ message: "请加载地形后分析!",
313
+ type: "warning"
314
+ });
315
+ }
293
316
  } //清除全部结果
294
317
 
295
318
 
@@ -2493,9 +2516,6 @@ const __default__ = {
2493
2516
  const __exports__ = IsolineAnalysisvue_type_script_setup_true_lang_js;
2494
2517
 
2495
2518
  /* harmony default export */ var IsolineAnalysis = (__exports__);
2496
- ;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
2497
- var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
2498
- var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
2499
2519
  ;// CONCATENATED MODULE: ./src/webgl/isolineanalysis/index.js
2500
2520
 
2501
2521
 
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./isolineanalysis.css?inline");
3
+ require("./isolineanalysis.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./isolineanalysis.css?inline");
3
+ require("./isolineanalysis.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./measure.css?inline");
3
+ require("./measure.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./measure.css?inline");
3
+ require("./measure.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./modelselect.css?inline");
3
+ require("./modelselect.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./modelselect.css?inline");
3
+ require("./modelselect.css?inline=true");
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"0.2.2-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.7","xe-utils":"^3.5.4"}}
1
+ {"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"0.2.3-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.7","xe-utils":"^3.5.4"}}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./particleeffect.css?inline");
3
+ require("./particleeffect.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./particleeffect.css?inline");
3
+ require("./particleeffect.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./planeclip.css?inline");
3
+ require("./planeclip.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./planeclip.css?inline");
3
+ require("./planeclip.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./profileanalysis.css?inline");
3
+ require("./profileanalysis.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./profileanalysis.css?inline");
3
+ require("./profileanalysis.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./roller.css?inline");
3
+ require("./roller.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./roller.css?inline");
3
+ require("./roller.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./scenceview.css?inline");
3
+ require("./scenceview.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./scenceview.css?inline");
3
+ require("./scenceview.css?inline=true");
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
 
3
- require("./screenshot.css?inline");
3
+ require("./screenshot.css?inline=true");