@kq_npm/client3d_webgl_vue 4.5.38 → 4.5.40

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 (56) hide show
  1. package/adddata/index.js +285 -193
  2. package/adddata/style/adddata.css +1 -1
  3. package/aspectanalysis/index.js +45 -14
  4. package/boxclip/index.js +52 -19
  5. package/clientPrint/index.js +3539 -1291
  6. package/clientPrint/style/clientPrint.css +1 -1
  7. package/comparemap/index.js +699 -14
  8. package/excavatefillanalysis/index.js +48 -18
  9. package/flight/index.js +45 -4
  10. package/flight/style/flight.css +1 -1
  11. package/floodanalysis/index.js +39 -5
  12. package/geologicalbodyanalysis/index.js +37 -3
  13. package/gpuspatialquery/index.js +50 -24
  14. package/heatmap3d/index.js +37 -3
  15. package/heatmap3d/style/heatmap3d.css +1 -1
  16. package/index.js +3357 -1160
  17. package/isolineanalysis/index.js +56 -28
  18. package/light/index.js +19 -22
  19. package/limitheightanalysis/index.js +46 -16
  20. package/measure/index.js +56 -14
  21. package/modelFlat/index.js +37 -3
  22. package/modelexcavate/index.js +37 -3
  23. package/modelfilter/index.js +37 -3
  24. package/modelprofileanalysis/index.js +37 -3
  25. package/modelselect/index.js +37 -3
  26. package/package.json +1 -1
  27. package/particleeffect/index.js +26 -33
  28. package/planeclip/index.js +47 -18
  29. package/radarscananalysis/index.js +863 -0
  30. package/radarscananalysis/style/index.js +3 -0
  31. package/radarscananalysis/style/radarscananalysis.css +1 -0
  32. package/scaneffect/index.js +48 -20
  33. package/scaneffect/style/scaneffect.css +1 -1
  34. package/sceneadvancedtoimage/index.js +46 -16
  35. package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
  36. package/sceneapp/index.js +3538 -1290
  37. package/scenetohdimage/style/scenetohdimage.css +1 -1
  38. package/sceneview/index.js +3533 -1285
  39. package/sceneview/style/sceneview.css +1 -1
  40. package/shadowanalysis/index.js +49 -19
  41. package/sightlineanalysis/index.js +41 -31
  42. package/sightlineanalysis/style/divpoint.css +1 -1
  43. package/skylineanalysis/index.js +37 -3
  44. package/slopeanalysis/index.js +85 -54
  45. package/slopeaspectanalysis/index.js +520 -135
  46. package/style.css +1 -1
  47. package/terrainoperation/index.js +61 -31
  48. package/terrainprofileanalysis/index.js +45 -14
  49. package/typhoontrac/index.js +71 -11
  50. package/typhoontrac/style/typhoontrac.css +1 -1
  51. package/videofusion/index.js +37 -3
  52. package/videoproject/index.js +37 -3
  53. package/weathereffect/index.js +30 -34
  54. package/windyslicing/index.js +670 -306
  55. package/windyslicing/style/windyslicing.css +1 -1
  56. package/wireframesketch/index.js +37 -3
@@ -12,13 +12,32 @@ return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
+ /***/ 3789:
16
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
+
18
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
+ /* harmony export */ "P": function() { return /* binding */ kq_npm_client_common_vue; }
20
+ /* harmony export */ });
21
+ /* unused harmony export kq_npm_client_leaflet_vue */
22
+ let kq_npm_client_common_vue = (window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {});
23
+
24
+ __webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
25
+
26
+ let kq_npm_client_leaflet_vue = (window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {});
27
+
28
+ __webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
29
+
30
+
31
+ /***/ }),
32
+
15
33
  /***/ 1705:
16
34
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
35
 
18
36
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
19
37
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
20
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
21
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
38
+ /* harmony import */ var _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3789);
39
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7997);
40
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_2__);
22
41
  /*
23
42
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
24
43
  * All rights reserved.
@@ -27,12 +46,15 @@ return /******/ (function() { // webpackBootstrap
27
46
 
28
47
 
29
48
 
49
+
30
50
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
31
- _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
51
+ _init__WEBPACK_IMPORTED_MODULE_2___default()(Vue, opts);
32
52
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
33
53
  };
34
54
 
35
55
  /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
56
+
57
+ _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__/* .kq_npm_client_common_vue.KqMessage */ .P.KqMessage = element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage;
36
58
 
37
59
 
38
60
  /***/ }),
@@ -137,6 +159,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
137
159
  /******/ };
138
160
  /******/ }();
139
161
  /******/
162
+ /******/ /* webpack/runtime/global */
163
+ /******/ !function() {
164
+ /******/ __webpack_require__.g = (function() {
165
+ /******/ if (typeof globalThis === 'object') return globalThis;
166
+ /******/ try {
167
+ /******/ return this || new Function('return this')();
168
+ /******/ } catch (e) {
169
+ /******/ if (typeof window === 'object') return window;
170
+ /******/ }
171
+ /******/ })();
172
+ /******/ }();
173
+ /******/
140
174
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
141
175
  /******/ !function() {
142
176
  /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
@@ -183,7 +217,6 @@ class ExcavateFillAnalysisViewModel {
183
217
  _excavateFillAnalysis = null; //填挖方分析三维对象
184
218
  _drawManager = null; //绘制管理对象
185
219
  _options = null; //填挖方分析存储参数对象
186
- _removeEventListener = null; //绘制完成监听事件
187
220
  _language = {};
188
221
  constructor(scenceView, options, callback) {
189
222
  this._language = scenceView._language;
@@ -197,16 +230,7 @@ class ExcavateFillAnalysisViewModel {
197
230
  }
198
231
  this._options = options;
199
232
  this._drawManager = scenceView._drawManager;
200
- var that = this;
201
- this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
202
- if (shape) {
203
- options.positions = that.coordinateTransform(shape._controlPoints);
204
- that._excavateFillAnalysis = new Cesium.Kq3dCutFill(options);
205
- that._drawManager.clear();
206
- callback && callback();
207
- // callback && setTimeout(callback, 1500);
208
- }
209
- });
233
+ this.callback = callback;
210
234
  }
211
235
 
212
236
  // 处理绘制坐标,转成二维坐标
@@ -223,10 +247,19 @@ class ExcavateFillAnalysisViewModel {
223
247
 
224
248
  //开始分析
225
249
  start() {
250
+ var that = this;
226
251
  // 判断是否添加了地形
227
252
  if (this._options.viewer.terrainProvider.availability) {
228
253
  if (this._options.viewer.terrainProvider && !this._options.viewer.terrainProvider._heightmapStructure) {
229
- this._drawManager.startDraw("polygon", { clampToGround: true });
254
+ this._drawManager.startDraw("polygon", { clampToGround: true }, (feature, { shape }) => {
255
+ if (!shape.groupName || shape.groupName !== "ExcavateFillAnalysisDraw") return;
256
+ if (shape) {
257
+ that._options.positions = that.coordinateTransform(shape._controlPoints);
258
+ that._excavateFillAnalysis = new Cesium.Kq3dCutFill(that._options);
259
+ that.callback && that.callback();
260
+ }
261
+ that._drawManager.clearDrawGroup("ExcavateFillAnalysisDraw");
262
+ }, "ExcavateFillAnalysisDraw");
230
263
  } else {
231
264
  (0,message/* default */.Z)({
232
265
  message: this._language["stkTerrainAnalysisTips"],
@@ -252,9 +285,6 @@ class ExcavateFillAnalysisViewModel {
252
285
  this.clear();
253
286
  // this._excavateFillAnalysis && this._excavateFillAnalysis.destroy();
254
287
  this._excavateFillAnalysis = null;
255
- //移除监听事件
256
- this._removeEventListener && this._removeEventListener();
257
- this._removeEventListener = null;
258
288
  }
259
289
 
260
290
  //设置基准高度
package/flight/index.js CHANGED
@@ -12,13 +12,32 @@ return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
+ /***/ 3789:
16
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
+
18
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
+ /* harmony export */ "P": function() { return /* binding */ kq_npm_client_common_vue; }
20
+ /* harmony export */ });
21
+ /* unused harmony export kq_npm_client_leaflet_vue */
22
+ let kq_npm_client_common_vue = (window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {});
23
+
24
+ __webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
25
+
26
+ let kq_npm_client_leaflet_vue = (window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {});
27
+
28
+ __webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
29
+
30
+
31
+ /***/ }),
32
+
15
33
  /***/ 1705:
16
34
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
35
 
18
36
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
19
37
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
20
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
21
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
38
+ /* harmony import */ var _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3789);
39
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7997);
40
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_2__);
22
41
  /*
23
42
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
24
43
  * All rights reserved.
@@ -27,12 +46,15 @@ return /******/ (function() { // webpackBootstrap
27
46
 
28
47
 
29
48
 
49
+
30
50
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
31
- _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
51
+ _init__WEBPACK_IMPORTED_MODULE_2___default()(Vue, opts);
32
52
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
33
53
  };
34
54
 
35
55
  /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
56
+
57
+ _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__/* .kq_npm_client_common_vue.KqMessage */ .P.KqMessage = element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage;
36
58
 
37
59
 
38
60
  /***/ }),
@@ -257,6 +279,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
257
279
  /******/ };
258
280
  /******/ }();
259
281
  /******/
282
+ /******/ /* webpack/runtime/global */
283
+ /******/ !function() {
284
+ /******/ __webpack_require__.g = (function() {
285
+ /******/ if (typeof globalThis === 'object') return globalThis;
286
+ /******/ try {
287
+ /******/ return this || new Function('return this')();
288
+ /******/ } catch (e) {
289
+ /******/ if (typeof window === 'object') return window;
290
+ /******/ }
291
+ /******/ })();
292
+ /******/ }();
293
+ /******/
260
294
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
261
295
  /******/ !function() {
262
296
  /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
@@ -396,6 +430,7 @@ let isPrePlaying = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)
396
430
  let viewer = null;
397
431
  let pathPlayIndex = -1;
398
432
  let dropDownPath = null;
433
+ let tableRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
399
434
 
400
435
  let viewModel = null;
401
436
 
@@ -616,6 +651,9 @@ function addKey() {
616
651
  positionArr: positionArr
617
652
  };
618
653
  tableData.push(data);
654
+ (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
655
+ tableRef.value.$refs.child.setScrollTop(10000);
656
+ });
619
657
 
620
658
  viewModel.addKeyPointByCurrentView(duration);
621
659
  }
@@ -1016,9 +1054,12 @@ return (_ctx, _cache) => {
1016
1054
  _: 1 /* STABLE */
1017
1055
  }, 8 /* PROPS */, ["label"]),
1018
1056
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table, {
1057
+ ref_key: "tableRef",
1058
+ ref: tableRef,
1019
1059
  border: "",
1020
1060
  data: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(tableData),
1021
- "header-cell-style": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headClass)
1061
+ "header-cell-style": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headClass),
1062
+ style: {"height":"200px"}
1022
1063
  }, {
1023
1064
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
1024
1065
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
@@ -1 +1 @@
1
- .kq-flight3d{z-index:999;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq-flight3d .kq-flight3d-box{width:466px}.kq-flight3d p{margin:0}.kq-flight3d .kq-flight3d-btns{display:-webkit-box;display:-ms-flexbox;display:flex}.kq-flight3d .kq-flight3d-btns .kq-button{width:48px;height:48px;margin-right:12px}.kq-flight3d .kq-flight3d-btns .kq-button .kq-icon{color:var(--kq-color-primary)}.kq-flight3d .pathlist-ul{color:var(--kq-text-color-regular);height:100%;margin-top:0;margin-bottom:0;border-right:none}.kq-flight3d .pathlist-ul .kq-icon{color:var(--kq-text-color-regular);cursor:pointer}.kq-flight3d .pathlist-ul .kq-icon-light{color:var(--kq-color-primary)}.kq-flight3d .pathlist-ul li{position:relative;height:32px;line-height:32px;list-style-type:none;border-bottom:var(--kq-border-width) var(--kq-border-style) var(--kq-border-color);padding:0!important;cursor:unset}.kq-flight3d .pathlist-ul li span{text-indent:8px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;width:100%}.kq-flight3d .dropdown-ul{width:84px;background-color:var(--kq-bg-color);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:var(--kq-box-shadow);box-shadow:var(--kq-box-shadow);text-align:center;position:fixed;z-index:9999999;border-right:none;padding:8px 0}.kq-flight3d .dropdown-ul .kq-icon{color:var(--kq-text-color-regular)}.kq-flight3d .dropdown-ul li{height:30px;padding-left:12px!important}.kq-flight3d .kq-flight3d-list-title{line-height:24px;margin:8px 0;text-align:center}.kq-flight3d .kq-flight3d-add-title,.kq-flight3d .kq-flight3d-list-title{color:var(--kq-text-color-primary);background:var(--kq-fill-color-light);font-size:16px;padding:12px 16px;font-weight:700}.kq-flight3d .kq-flight3d-add-title .kq-button{height:22px;padding:0 12px 0 0}.kq-flight3d .kq-flight3d-add-title .kq-icon{color:var(--kq-text-color-regular)}.kq-flight3d .kq-flight3d-item-name{color:var(--kq-text-color-regular);margin:8px 0}.kq-flight3d .kq-table .cell{padding:0 8px}.kq-flight3d .kq-table .kq-button{width:32px;height:32px}.kq-flight3d .kq-table .kq-button+.kq-button{margin-left:8px}.kq-flight3d .kq-table .kq-icon{color:var(--kq-text-color-regular)}.kq-flight3d .kq-flight3d-btn-add{margin:8px 0;width:100%;color:var(--kq-color-primary)}.kq-flight3d .kq-flight3d-btn-add .kq-icon{color:var(--kq-text-color-regular);margin-right:10px}.kq-flight3d .kq-flight3d-ybf{color:var(--kq-text-color-regular);background:var(--kq-fill-color-light);font-size:var(--kq-font-size-base);line-height:32px;padding:12px 16px;margin-bottom:8px!important}.kq-flight3d .kq-flight3d-ybf .kq-form-item__content{height:32px}.kq-flight3d .kq-flight3d-ybf .kq-form-item__content div{width:100%;text-align:center}.kq-flight3d .kq-flight3d-ybf .kq-icon{color:var(--kq-text-color-regular);margin:0 12px;cursor:pointer}.kq-flight3d .kq-divider{margin:0 0 16px}
1
+ .kq-flight3d{z-index:999;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq-flight3d .kq-flight3d-box{width:466px}.kq-flight3d p{margin:0}.kq-flight3d .kq-flight3d-btns{display:-webkit-box;display:-ms-flexbox;display:flex}.kq-flight3d .kq-flight3d-btns .kq-button{width:48px;height:48px;margin-right:12px}.kq-flight3d .kq-flight3d-btns .kq-button .kq-icon{color:var(--kq-color-primary)}.kq-flight3d .pathlist-ul{color:var(--kq-text-color-regular);height:100%;margin-top:0;margin-bottom:0;border-right:none}.kq-flight3d .pathlist-ul .kq-icon{color:var(--kq-text-color-regular);cursor:pointer}.kq-flight3d .pathlist-ul .kq-icon-light{color:var(--kq-color-primary)}.kq-flight3d .pathlist-ul li{position:relative;height:32px;line-height:32px;list-style-type:none;border-bottom:var(--kq-border-width) var(--kq-border-style) var(--kq-border-color);padding:0!important;cursor:unset}.kq-flight3d .pathlist-ul li span{text-indent:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.kq-flight3d .dropdown-ul{width:84px;background-color:var(--kq-bg-color);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:var(--kq-box-shadow);box-shadow:var(--kq-box-shadow);text-align:center;position:fixed;z-index:9999999;border-right:none;padding:8px 0}.kq-flight3d .dropdown-ul .kq-icon{color:var(--kq-text-color-regular)}.kq-flight3d .dropdown-ul li{height:30px;padding-left:12px!important}.kq-flight3d .kq-flight3d-list-title{line-height:24px;margin:8px 0;text-align:center}.kq-flight3d .kq-flight3d-add-title,.kq-flight3d .kq-flight3d-list-title{color:var(--kq-text-color-primary);background:var(--kq-fill-color-light);font-size:16px;padding:12px 16px;font-weight:700}.kq-flight3d .kq-flight3d-add-title .kq-button{height:22px;padding:0 12px 0 0}.kq-flight3d .kq-flight3d-add-title .kq-icon{color:var(--kq-text-color-regular)}.kq-flight3d .kq-flight3d-item-name{color:var(--kq-text-color-regular);margin:8px 0}.kq-flight3d .kq-table .cell{padding:0 8px}.kq-flight3d .kq-table .kq-button{width:32px;height:32px}.kq-flight3d .kq-table .kq-button+.kq-button{margin-left:8px}.kq-flight3d .kq-table .kq-icon{color:var(--kq-text-color-regular)}.kq-flight3d .kq-flight3d-btn-add{margin:8px 0;width:100%;color:var(--kq-color-primary)}.kq-flight3d .kq-flight3d-btn-add .kq-icon{color:var(--kq-text-color-regular);margin-right:10px}.kq-flight3d .kq-flight3d-ybf{color:var(--kq-text-color-regular);background:var(--kq-fill-color-light);font-size:var(--kq-font-size-base);line-height:32px;padding:12px 16px;margin-bottom:8px!important}.kq-flight3d .kq-flight3d-ybf .kq-form-item__content{height:32px}.kq-flight3d .kq-flight3d-ybf .kq-form-item__content div{width:100%;text-align:center}.kq-flight3d .kq-flight3d-ybf .kq-icon{color:var(--kq-text-color-regular);margin:0 12px;cursor:pointer}.kq-flight3d .kq-divider{margin:0 0 16px}
@@ -12,13 +12,32 @@ return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
+ /***/ 3789:
16
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
+
18
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
+ /* harmony export */ "P": function() { return /* binding */ kq_npm_client_common_vue; }
20
+ /* harmony export */ });
21
+ /* unused harmony export kq_npm_client_leaflet_vue */
22
+ let kq_npm_client_common_vue = (window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {});
23
+
24
+ __webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
25
+
26
+ let kq_npm_client_leaflet_vue = (window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {});
27
+
28
+ __webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
29
+
30
+
31
+ /***/ }),
32
+
15
33
  /***/ 1705:
16
34
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
35
 
18
36
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
19
37
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
20
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
21
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
38
+ /* harmony import */ var _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3789);
39
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7997);
40
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_2__);
22
41
  /*
23
42
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
24
43
  * All rights reserved.
@@ -27,12 +46,15 @@ return /******/ (function() { // webpackBootstrap
27
46
 
28
47
 
29
48
 
49
+
30
50
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
31
- _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
51
+ _init__WEBPACK_IMPORTED_MODULE_2___default()(Vue, opts);
32
52
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
33
53
  };
34
54
 
35
55
  /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
56
+
57
+ _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__/* .kq_npm_client_common_vue.KqMessage */ .P.KqMessage = element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage;
36
58
 
37
59
 
38
60
  /***/ }),
@@ -144,6 +166,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
144
166
  /******/ };
145
167
  /******/ }();
146
168
  /******/
169
+ /******/ /* webpack/runtime/global */
170
+ /******/ !function() {
171
+ /******/ __webpack_require__.g = (function() {
172
+ /******/ if (typeof globalThis === 'object') return globalThis;
173
+ /******/ try {
174
+ /******/ return this || new Function('return this')();
175
+ /******/ } catch (e) {
176
+ /******/ if (typeof window === 'object') return window;
177
+ /******/ }
178
+ /******/ })();
179
+ /******/ }();
180
+ /******/
147
181
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
148
182
  /******/ !function() {
149
183
  /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
@@ -219,8 +253,8 @@ class FloodAnalysisViewModel {
219
253
  options.viewer.scene.globe.depthTestAgainstTerrain = true;
220
254
  options.colorImage = this.getImagePath(options.colorImage);
221
255
  this._options = options;
222
- //this._floodModelAnalysis = new Cesium.Kq3dFloodModelAnalysis(options);
223
- this._floodModelAnalysis = scenceView._floodModelAnalysis;
256
+ this._floodModelAnalysis = new Cesium.Kq3dFloodModelAnalysis(options);
257
+ // this._floodModelAnalysis = scenceView._floodModelAnalysis;
224
258
  this._floodModelAnalysis.moveMode = options.moveMode;
225
259
  this._floodModelAnalysis.speed = options.speed;
226
260
  this._floodModelAnalysis.alpha = options.alpha;
@@ -12,13 +12,32 @@ return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
+ /***/ 3789:
16
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
+
18
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
+ /* harmony export */ "P": function() { return /* binding */ kq_npm_client_common_vue; }
20
+ /* harmony export */ });
21
+ /* unused harmony export kq_npm_client_leaflet_vue */
22
+ let kq_npm_client_common_vue = (window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {});
23
+
24
+ __webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
25
+
26
+ let kq_npm_client_leaflet_vue = (window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {});
27
+
28
+ __webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
29
+
30
+
31
+ /***/ }),
32
+
15
33
  /***/ 1705:
16
34
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
35
 
18
36
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
19
37
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
20
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
21
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
38
+ /* harmony import */ var _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3789);
39
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7997);
40
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_2__);
22
41
  /*
23
42
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
24
43
  * All rights reserved.
@@ -27,12 +46,15 @@ return /******/ (function() { // webpackBootstrap
27
46
 
28
47
 
29
48
 
49
+
30
50
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
31
- _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
51
+ _init__WEBPACK_IMPORTED_MODULE_2___default()(Vue, opts);
32
52
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
33
53
  };
34
54
 
35
55
  /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
56
+
57
+ _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__/* .kq_npm_client_common_vue.KqMessage */ .P.KqMessage = element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage;
36
58
 
37
59
 
38
60
  /***/ }),
@@ -137,6 +159,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
137
159
  /******/ };
138
160
  /******/ }();
139
161
  /******/
162
+ /******/ /* webpack/runtime/global */
163
+ /******/ !function() {
164
+ /******/ __webpack_require__.g = (function() {
165
+ /******/ if (typeof globalThis === 'object') return globalThis;
166
+ /******/ try {
167
+ /******/ return this || new Function('return this')();
168
+ /******/ } catch (e) {
169
+ /******/ if (typeof window === 'object') return window;
170
+ /******/ }
171
+ /******/ })();
172
+ /******/ }();
173
+ /******/
140
174
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
141
175
  /******/ !function() {
142
176
  /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
@@ -12,13 +12,32 @@ return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
+ /***/ 3789:
16
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
+
18
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
+ /* harmony export */ "P": function() { return /* binding */ kq_npm_client_common_vue; }
20
+ /* harmony export */ });
21
+ /* unused harmony export kq_npm_client_leaflet_vue */
22
+ let kq_npm_client_common_vue = (window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {});
23
+
24
+ __webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
25
+
26
+ let kq_npm_client_leaflet_vue = (window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {});
27
+
28
+ __webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
29
+
30
+
31
+ /***/ }),
32
+
15
33
  /***/ 1705:
16
34
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
35
 
18
36
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
19
37
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
20
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
21
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
38
+ /* harmony import */ var _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3789);
39
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7997);
40
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_2__);
22
41
  /*
23
42
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
24
43
  * All rights reserved.
@@ -27,12 +46,15 @@ return /******/ (function() { // webpackBootstrap
27
46
 
28
47
 
29
48
 
49
+
30
50
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
31
- _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
51
+ _init__WEBPACK_IMPORTED_MODULE_2___default()(Vue, opts);
32
52
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
33
53
  };
34
54
 
35
55
  /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
56
+
57
+ _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__/* .kq_npm_client_common_vue.KqMessage */ .P.KqMessage = element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage;
36
58
 
37
59
 
38
60
  /***/ }),
@@ -144,6 +166,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
144
166
  /******/ };
145
167
  /******/ }();
146
168
  /******/
169
+ /******/ /* webpack/runtime/global */
170
+ /******/ !function() {
171
+ /******/ __webpack_require__.g = (function() {
172
+ /******/ if (typeof globalThis === 'object') return globalThis;
173
+ /******/ try {
174
+ /******/ return this || new Function('return this')();
175
+ /******/ } catch (e) {
176
+ /******/ if (typeof window === 'object') return window;
177
+ /******/ }
178
+ /******/ })();
179
+ /******/ }();
180
+ /******/
147
181
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
148
182
  /******/ !function() {
149
183
  /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
@@ -198,7 +232,6 @@ class GPUSpatialQueryViewModel {
198
232
  _center = null; //绘制图形的坐标
199
233
  _options = null; //传入参数
200
234
  finishedQuery = null; //绘制后的查询事件
201
- _removeEventListener = null; //绘制完成监听事件
202
235
  _language = {};
203
236
  constructor(scenceView, options) {
204
237
  this._language = scenceView._language;
@@ -210,23 +243,8 @@ class GPUSpatialQueryViewModel {
210
243
  this._gpuSpatialQuery = new Cesium.Kq3dSpatialQuery({ viewer: options.viewer });
211
244
  this.finishedQuery = this._gpuSpatialQuery.finishSQ;
212
245
  this._drawManager = scenceView._drawManager;
213
-
214
246
  var that = this;
215
-
216
- that._removeEventListener = that._drawManager.drawFinishedEvent.addEventListener(shape => {
217
- if (shape) {
218
- that._drawManager && that._drawManager.clear();
219
- that._center = shape.position;
220
- //that.startQuery();
221
- setTimeout(() => {
222
- //绘制跟高亮显示有冲突,所以延时执行查询
223
- that.startQuery();
224
- that._drawManager && that._drawManager.startDraw("marker", { image: null });
225
- }, 10);
226
- }
227
- });
228
-
229
- that._gpuSpatialQuery.finishSQ.addEventListener(function () {
247
+ this._gpuSpatialQuery.finishSQ.addEventListener(function () {
230
248
  // 查询结束后的回调事件,高亮结果
231
249
  for (let l = 0; l < that._gpuSpatialQuery._layers.length; l++) {
232
250
  //if (that._gpuSpatialQuery._layers[l].sqResult.length != 0) { 该代码导致无法清除高亮效果
@@ -264,6 +282,7 @@ class GPUSpatialQueryViewModel {
264
282
 
265
283
  //开始绘制
266
284
  start() {
285
+ var that = this;
267
286
  // 判断是否添加了模型
268
287
  var flag = false;
269
288
  var models = this._options.viewer.scene.primitives._primitives;
@@ -275,7 +294,17 @@ class GPUSpatialQueryViewModel {
275
294
  if (flag) {
276
295
  this.clear();
277
296
  this.findLayers();
278
- this._drawManager.startDraw("marker", { image: null });
297
+ this._drawManager.startDraw("marker", { image: null }, (feature, { shape }) => {
298
+ if (!shape.groupName || shape.groupName !== "GPUSpatialQueryDraw") return;
299
+ if (shape) {
300
+ that._center = shape.position;
301
+ setTimeout(() => {
302
+ //绘制跟高亮显示有冲突,所以延时执行查询
303
+ that.startQuery();
304
+ }, 10);
305
+ }
306
+ that._drawManager && that._drawManager.clearDrawGroup("GPUSpatialQueryDraw");
307
+ }, "GPUSpatialQueryDraw", true);
279
308
  } else {
280
309
  (0,message/* default */.Z)({
281
310
  message: this._language["addModelAnalysisTips"],
@@ -304,9 +333,6 @@ class GPUSpatialQueryViewModel {
304
333
  this.clear();
305
334
  // this._gpuSpatialQuery && this._gpuSpatialQuery.destroy();
306
335
  this._gpuSpatialQuery = null;
307
- //移除监听事件
308
- this._removeEventListener && this._removeEventListener();
309
- this._removeEventListener = null;
310
336
  }
311
337
 
312
338
  // 查找所有3dtiles模型对象
@@ -408,6 +408,24 @@ exports.Z = (sfc, props) => {
408
408
  };
409
409
 
410
410
 
411
+ /***/ }),
412
+
413
+ /***/ 3789:
414
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
415
+
416
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
417
+ /* harmony export */ "P": function() { return /* binding */ kq_npm_client_common_vue; }
418
+ /* harmony export */ });
419
+ /* unused harmony export kq_npm_client_leaflet_vue */
420
+ let kq_npm_client_common_vue = (window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {});
421
+
422
+ __webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
423
+
424
+ let kq_npm_client_leaflet_vue = (window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {});
425
+
426
+ __webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
427
+
428
+
411
429
  /***/ }),
412
430
 
413
431
  /***/ 1705:
@@ -415,8 +433,9 @@ exports.Z = (sfc, props) => {
415
433
 
416
434
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
417
435
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
418
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
419
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
436
+ /* harmony import */ var _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3789);
437
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7997);
438
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_2__);
420
439
  /*
421
440
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
422
441
  * All rights reserved.
@@ -425,12 +444,15 @@ exports.Z = (sfc, props) => {
425
444
 
426
445
 
427
446
 
447
+
428
448
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
429
- _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
449
+ _init__WEBPACK_IMPORTED_MODULE_2___default()(Vue, opts);
430
450
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
431
451
  };
432
452
 
433
453
  /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
454
+
455
+ _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__/* .kq_npm_client_common_vue.KqMessage */ .P.KqMessage = element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage;
434
456
 
435
457
 
436
458
  /***/ }),
@@ -542,6 +564,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
542
564
  /******/ };
543
565
  /******/ }();
544
566
  /******/
567
+ /******/ /* webpack/runtime/global */
568
+ /******/ !function() {
569
+ /******/ __webpack_require__.g = (function() {
570
+ /******/ if (typeof globalThis === 'object') return globalThis;
571
+ /******/ try {
572
+ /******/ return this || new Function('return this')();
573
+ /******/ } catch (e) {
574
+ /******/ if (typeof window === 'object') return window;
575
+ /******/ }
576
+ /******/ })();
577
+ /******/ }();
578
+ /******/
545
579
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
546
580
  /******/ !function() {
547
581
  /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }