@kq_npm/client3d_webgl_vue 4.5.43 → 4.5.45
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 +2 -1
- package/boxclip/index.js +2 -0
- package/clientPrint/index.js +22379 -22095
- package/clientPrint/style/clientPrint.css +1 -1
- package/compass/index.js +7694 -15
- package/excavatefillanalysis/index.js +21 -18
- package/fixedzoomin/index.js +7694 -15
- package/fixedzoomout/index.js +144 -98
- package/floodanalysis/index.js +10 -0
- package/geologicalbodyanalysis/index.js +10 -0
- package/gpuspatialquery/index.js +15 -12
- package/index.js +801 -540
- package/isolineanalysis/index.js +29 -23
- package/light/index.js +7 -1
- package/limitheightanalysis/index.js +2 -1
- package/measure/index.js +51 -5
- package/modelFlat/index.js +10 -2
- package/modelexcavate/index.js +10 -0
- package/modelprofileanalysis/index.js +12 -16
- package/package.json +1 -1
- package/particleeffect/index.js +2 -1
- package/planeclip/index.js +2 -1
- package/radarscananalysis/index.js +4 -1
- package/resetview/index.js +7699 -10
- package/scaneffect/index.js +5 -2
- package/sceneadvancedtoimage/index.js +4 -3
- package/sceneapp/index.js +22365 -22081
- package/sceneview/index.js +22365 -22081
- package/shadowanalysis/index.js +1 -0
- package/sightlineanalysis/index.js +9 -6
- package/slopeanalysis/index.js +3 -1
- package/slopeaspectanalysis/index.js +14 -7
- package/style.css +1 -1
- package/terrainoperation/index.js +24 -21
- package/terrainprofileanalysis/index.js +3 -2
- package/weathereffect/index.js +6 -5
- package/webgl.es.js +169635 -167976
- package/windyslicing/index.js +18 -5
package/fixedzoomout/index.js
CHANGED
|
@@ -128,99 +128,19 @@ class FixedZoomout3dViewModel {
|
|
|
128
128
|
|
|
129
129
|
/***/ }),
|
|
130
130
|
|
|
131
|
-
/***/
|
|
132
|
-
/***/ (function(
|
|
133
|
-
|
|
134
|
-
module.exports = require("@element-plus/icons-vue");
|
|
135
|
-
|
|
136
|
-
/***/ })
|
|
131
|
+
/***/ 4605:
|
|
132
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
137
133
|
|
|
138
|
-
/******/ });
|
|
139
|
-
/************************************************************************/
|
|
140
|
-
/******/ // The module cache
|
|
141
|
-
/******/ var __webpack_module_cache__ = {};
|
|
142
|
-
/******/
|
|
143
|
-
/******/ // The require function
|
|
144
|
-
/******/ function __webpack_require__(moduleId) {
|
|
145
|
-
/******/ // Check if module is in cache
|
|
146
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
147
|
-
/******/ if (cachedModule !== undefined) {
|
|
148
|
-
/******/ return cachedModule.exports;
|
|
149
|
-
/******/ }
|
|
150
|
-
/******/ // Create a new module (and put it into the cache)
|
|
151
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
152
|
-
/******/ // no module.id needed
|
|
153
|
-
/******/ // no module.loaded needed
|
|
154
|
-
/******/ exports: {}
|
|
155
|
-
/******/ };
|
|
156
|
-
/******/
|
|
157
|
-
/******/ // Execute the module function
|
|
158
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
159
|
-
/******/
|
|
160
|
-
/******/ // Return the exports of the module
|
|
161
|
-
/******/ return module.exports;
|
|
162
|
-
/******/ }
|
|
163
|
-
/******/
|
|
164
|
-
/************************************************************************/
|
|
165
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
166
|
-
/******/ !function() {
|
|
167
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
168
|
-
/******/ __webpack_require__.n = function(module) {
|
|
169
|
-
/******/ var getter = module && module.__esModule ?
|
|
170
|
-
/******/ function() { return module['default']; } :
|
|
171
|
-
/******/ function() { return module; };
|
|
172
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
173
|
-
/******/ return getter;
|
|
174
|
-
/******/ };
|
|
175
|
-
/******/ }();
|
|
176
|
-
/******/
|
|
177
|
-
/******/ /* webpack/runtime/define property getters */
|
|
178
|
-
/******/ !function() {
|
|
179
|
-
/******/ // define getter functions for harmony exports
|
|
180
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
181
|
-
/******/ for(var key in definition) {
|
|
182
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
183
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
184
|
-
/******/ }
|
|
185
|
-
/******/ }
|
|
186
|
-
/******/ };
|
|
187
|
-
/******/ }();
|
|
188
|
-
/******/
|
|
189
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
190
|
-
/******/ !function() {
|
|
191
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
192
|
-
/******/ }();
|
|
193
|
-
/******/
|
|
194
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
195
|
-
/******/ !function() {
|
|
196
|
-
/******/ // define __esModule on exports
|
|
197
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
198
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
199
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
200
|
-
/******/ }
|
|
201
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
202
|
-
/******/ };
|
|
203
|
-
/******/ }();
|
|
204
|
-
/******/
|
|
205
|
-
/************************************************************************/
|
|
206
|
-
var __webpack_exports__ = {};
|
|
207
|
-
// ESM COMPAT FLAG
|
|
208
|
-
__webpack_require__.r(__webpack_exports__);
|
|
209
134
|
|
|
210
135
|
// EXPORTS
|
|
211
136
|
__webpack_require__.d(__webpack_exports__, {
|
|
212
|
-
|
|
213
|
-
"default": function() { return /* reexport */ FixedZoomout; }
|
|
137
|
+
Y: function() { return /* binding */ useLocale; }
|
|
214
138
|
});
|
|
215
139
|
|
|
140
|
+
// UNUSED EXPORTS: provideGlobalConfig
|
|
141
|
+
|
|
216
142
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
217
143
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
218
|
-
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
219
|
-
var icons_vue_ = __webpack_require__(9371);
|
|
220
|
-
// EXTERNAL MODULE: ./src/webgl/fixedzoomout/FixedZoomoutViewModel.js
|
|
221
|
-
var FixedZoomoutViewModel = __webpack_require__(4435);
|
|
222
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
223
|
-
var gis_utils_ = __webpack_require__(64);
|
|
224
144
|
;// ./src/common/_lang/webgl/SceneView.js
|
|
225
145
|
/*
|
|
226
146
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
@@ -240,8 +160,11 @@ let en = {
|
|
|
240
160
|
clipAnalysis: '3D Clip Analysis',
|
|
241
161
|
specialEffects: 'Special Effects',
|
|
242
162
|
scene: 'Scene',
|
|
163
|
+
beforeDrawText: 'Click left mouse button to start',
|
|
164
|
+
duringDrawText: 'Click right mouse button to end',
|
|
243
165
|
};
|
|
244
166
|
|
|
167
|
+
|
|
245
168
|
let zh = {
|
|
246
169
|
zoomIn: "固定放大",
|
|
247
170
|
zoomOut: "固定缩小",
|
|
@@ -255,6 +178,8 @@ let zh = {
|
|
|
255
178
|
clipAnalysis: '三维裁剪分析',
|
|
256
179
|
specialEffects: '特效',
|
|
257
180
|
scene: '场景',
|
|
181
|
+
beforeDrawText: '点击鼠标左键开始绘制',
|
|
182
|
+
duringDrawText: '点击鼠标右键结束',
|
|
258
183
|
};
|
|
259
184
|
|
|
260
185
|
/* harmony default export */ var SceneView = ({ en, zh });
|
|
@@ -478,7 +403,8 @@ let BoxClip_en = {
|
|
|
478
403
|
clipRotation: "Clip rotation(°)",
|
|
479
404
|
clipPattern: "Clip pattern",
|
|
480
405
|
insideClip: "Inside clip",
|
|
481
|
-
outsideClip: "Outside clip"
|
|
406
|
+
outsideClip: "Outside clip",
|
|
407
|
+
boxClipBeforeDrawText: 'Click the left button to pick up the position',
|
|
482
408
|
};
|
|
483
409
|
|
|
484
410
|
let BoxClip_zh = {
|
|
@@ -497,7 +423,8 @@ let BoxClip_zh = {
|
|
|
497
423
|
clipRotation: "裁剪旋转角(°)",
|
|
498
424
|
clipPattern: "裁剪方式",
|
|
499
425
|
insideClip: "内部裁剪",
|
|
500
|
-
outsideClip: "外部裁剪"
|
|
426
|
+
outsideClip: "外部裁剪",
|
|
427
|
+
boxClipBeforeDrawText: '点击鼠标左键拾取位置',
|
|
501
428
|
};
|
|
502
429
|
|
|
503
430
|
/* harmony default export */ var BoxClip = ({ en: BoxClip_en, zh: BoxClip_zh });
|
|
@@ -820,7 +747,8 @@ let GPUSpatialQuery_en = {
|
|
|
820
747
|
zoom: "Zoom",
|
|
821
748
|
xRotate: "X rotate",
|
|
822
749
|
yRotate: "Y rotate",
|
|
823
|
-
zRotate: "Z rotate"
|
|
750
|
+
zRotate: "Z rotate",
|
|
751
|
+
spatialQueryBeforeDrawText: "Click the left mouse button to start the query"
|
|
824
752
|
};
|
|
825
753
|
|
|
826
754
|
let GPUSpatialQuery_zh = {
|
|
@@ -842,7 +770,8 @@ let GPUSpatialQuery_zh = {
|
|
|
842
770
|
zoom: "查询体缩放",
|
|
843
771
|
xRotate: "绕X轴旋转",
|
|
844
772
|
yRotate: "绕Y轴旋转",
|
|
845
|
-
zRotate: "绕Z轴旋转"
|
|
773
|
+
zRotate: "绕Z轴旋转",
|
|
774
|
+
spatialQueryBeforeDrawText: "点击鼠标左键绘制点"
|
|
846
775
|
};
|
|
847
776
|
|
|
848
777
|
/* harmony default export */ var GPUSpatialQuery = ({ en: GPUSpatialQuery_en, zh: GPUSpatialQuery_zh });
|
|
@@ -946,6 +875,11 @@ let Measure_en = {
|
|
|
946
875
|
latitude: "Latitude",
|
|
947
876
|
measuretAddTerrainTips: "Please load the terrain first!",
|
|
948
877
|
measuretAddModelTips: "Please load the model first!",
|
|
878
|
+
measureBeforeDrawText: 'Click the left button to start the measurement',
|
|
879
|
+
measureDuringDrawText: 'Right-click to end the measurement',
|
|
880
|
+
measureHeightDuringDrawText: 'Click the left button to end the measurement and the right button to cancel',
|
|
881
|
+
measureCoordinateBeforeDrawText: 'Click the left button to measure and the right button to cancel',
|
|
882
|
+
measureSlopeBeforeDrawText: 'Click the left or right button to end the measurement',
|
|
949
883
|
};
|
|
950
884
|
|
|
951
885
|
let Measure_zh = {
|
|
@@ -979,6 +913,11 @@ let Measure_zh = {
|
|
|
979
913
|
latitude: "纬度",
|
|
980
914
|
measuretAddTerrainTips: "请先加载地形!",
|
|
981
915
|
measuretAddModelTips: "请先加载模型!",
|
|
916
|
+
measureBeforeDrawText: '点击鼠标左键测量',
|
|
917
|
+
measureDuringDrawText: '点击鼠标右键结束',
|
|
918
|
+
measureHeightDuringDrawText: '点击鼠标左键结束,点击鼠标右键取消',
|
|
919
|
+
measureCoordinateBeforeDrawText: '点击鼠标左键测量,点击鼠标右键取消',
|
|
920
|
+
measureSlopeBeforeDrawText: '点击鼠标左键或右键结束',
|
|
982
921
|
};
|
|
983
922
|
|
|
984
923
|
/* harmony default export */ var Measure = ({ en: Measure_en, zh: Measure_zh });
|
|
@@ -996,7 +935,8 @@ let ModelSelect_en = {
|
|
|
996
935
|
pick: "Pick",
|
|
997
936
|
modelLayerName: "Layer name",
|
|
998
937
|
notIdAttribute:"Feature has no attribute:",
|
|
999
|
-
noCesium3DTileFeature:"no Cesium3DTileFeature"
|
|
938
|
+
noCesium3DTileFeature:"no Cesium3DTileFeature",
|
|
939
|
+
modelPickBeforeDrawText: 'Click the left mouse button to pick',
|
|
1000
940
|
};
|
|
1001
941
|
|
|
1002
942
|
let ModelSelect_zh = {
|
|
@@ -1006,7 +946,8 @@ let ModelSelect_zh = {
|
|
|
1006
946
|
pick: "拾取",
|
|
1007
947
|
modelLayerName: "所属图层名称",
|
|
1008
948
|
notIdAttribute:"模型中没有属性:",
|
|
1009
|
-
noCesium3DTileFeature:"不是Cesium3DTileFeature类型"
|
|
949
|
+
noCesium3DTileFeature:"不是Cesium3DTileFeature类型",
|
|
950
|
+
modelPickBeforeDrawText: '点击鼠标左键拾取',
|
|
1010
951
|
};
|
|
1011
952
|
|
|
1012
953
|
/* harmony default export */ var ModelSelect = ({ en: ModelSelect_en, zh: ModelSelect_zh });
|
|
@@ -1160,7 +1101,7 @@ let ModelProfileAnalysis_en = {
|
|
|
1160
1101
|
profileLength: "Profile Length",
|
|
1161
1102
|
profileHeight: "Profile Height",
|
|
1162
1103
|
totalLength: "Total Length",
|
|
1163
|
-
totalHeight: "Total Height"
|
|
1104
|
+
totalHeight: "Total Height",
|
|
1164
1105
|
};
|
|
1165
1106
|
|
|
1166
1107
|
let ModelProfileAnalysis_zh = {
|
|
@@ -1174,7 +1115,7 @@ let ModelProfileAnalysis_zh = {
|
|
|
1174
1115
|
profileLength: "剖面长度",
|
|
1175
1116
|
profileHeight: "剖面高度",
|
|
1176
1117
|
totalLength: "总长度",
|
|
1177
|
-
totalHeight: "总高度"
|
|
1118
|
+
totalHeight: "总高度",
|
|
1178
1119
|
};
|
|
1179
1120
|
|
|
1180
1121
|
/* harmony default export */ var ModelProfileAnalysis = ({ en: ModelProfileAnalysis_en, zh: ModelProfileAnalysis_zh });
|
|
@@ -1668,6 +1609,7 @@ let Light_en = {
|
|
|
1668
1609
|
decayFactor: "Decay factor",
|
|
1669
1610
|
lightStrength: "Light strength",
|
|
1670
1611
|
lightModel: "Light model",
|
|
1612
|
+
lightBeforeDrawText: "Click the left button to add a location point"
|
|
1671
1613
|
};
|
|
1672
1614
|
|
|
1673
1615
|
let Light_zh = {
|
|
@@ -1681,6 +1623,9 @@ let Light_zh = {
|
|
|
1681
1623
|
decayFactor: "衰减因子",
|
|
1682
1624
|
lightStrength: "光源强度",
|
|
1683
1625
|
lightModel: "光源模型",
|
|
1626
|
+
lightBeforeDrawText: "点击左键添加位置点",
|
|
1627
|
+
parallelLightBeforeDrawText: "点击鼠标左键开始绘制",
|
|
1628
|
+
parallelLightDuringDrawText: "点击鼠标左键结束绘制",
|
|
1684
1629
|
};
|
|
1685
1630
|
|
|
1686
1631
|
/* harmony default export */ var Light = ({ en: Light_en, zh: Light_zh });
|
|
@@ -2161,7 +2106,8 @@ let WindySlicing_en = {
|
|
|
2161
2106
|
renderList: "Render list",
|
|
2162
2107
|
addRenderValue: "Add render value",
|
|
2163
2108
|
deleteRow: "Delete row",
|
|
2164
|
-
applicationBtn: "Application"
|
|
2109
|
+
applicationBtn: "Application",
|
|
2110
|
+
slicingDuringDrawText: 'Click left mouse button to end',
|
|
2165
2111
|
};
|
|
2166
2112
|
|
|
2167
2113
|
let WindySlicing_zh = {
|
|
@@ -2194,7 +2140,8 @@ let WindySlicing_zh = {
|
|
|
2194
2140
|
renderList: "渲染列表",
|
|
2195
2141
|
addRenderValue: "添加渲染值",
|
|
2196
2142
|
deleteRow: "删除行",
|
|
2197
|
-
applicationBtn: "应用"
|
|
2143
|
+
applicationBtn: "应用",
|
|
2144
|
+
slicingDuringDrawText: '点击鼠标左键结束',
|
|
2198
2145
|
};
|
|
2199
2146
|
|
|
2200
2147
|
/* harmony default export */ var WindySlicing = ({ en: WindySlicing_en, zh: WindySlicing_zh });
|
|
@@ -2991,6 +2938,7 @@ let MapApp_zh = {
|
|
|
2991
2938
|
*/
|
|
2992
2939
|
let VectorTileRender_en = {
|
|
2993
2940
|
noDataMsg: "no data",
|
|
2941
|
+
switch: "switch mode",
|
|
2994
2942
|
themeTitle: "Thematic Map Types",
|
|
2995
2943
|
theme1: "basic",
|
|
2996
2944
|
theme2: "heatmap",
|
|
@@ -3102,6 +3050,7 @@ let VectorTileRender_en = {
|
|
|
3102
3050
|
|
|
3103
3051
|
let VectorTileRender_zh = {
|
|
3104
3052
|
noDataMsg: "暂无数据",
|
|
3053
|
+
switch: "切换编辑模式",
|
|
3105
3054
|
// 样式专题图
|
|
3106
3055
|
themeTitle: "专题地图类型",
|
|
3107
3056
|
theme1: "基本",
|
|
@@ -7838,7 +7787,7 @@ const provideGlobalConfig = (config, app, global = false) => {
|
|
|
7838
7787
|
// 应用层 Provide 需要使用 app.provide
|
|
7839
7788
|
const provideFn = app?.provide ?? (inSetup ? provide : undefined);
|
|
7840
7789
|
if (!provideFn) {
|
|
7841
|
-
|
|
7790
|
+
console.error("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
|
7842
7791
|
return;
|
|
7843
7792
|
}
|
|
7844
7793
|
|
|
@@ -7869,6 +7818,104 @@ const useLocale = localeOverrides => {
|
|
|
7869
7818
|
return buildLocaleContext((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.computed)(() => (locale && locale.value) || _lang_zh));
|
|
7870
7819
|
};
|
|
7871
7820
|
|
|
7821
|
+
|
|
7822
|
+
/***/ }),
|
|
7823
|
+
|
|
7824
|
+
/***/ 9371:
|
|
7825
|
+
/***/ (function(module) {
|
|
7826
|
+
|
|
7827
|
+
module.exports = require("@element-plus/icons-vue");
|
|
7828
|
+
|
|
7829
|
+
/***/ })
|
|
7830
|
+
|
|
7831
|
+
/******/ });
|
|
7832
|
+
/************************************************************************/
|
|
7833
|
+
/******/ // The module cache
|
|
7834
|
+
/******/ var __webpack_module_cache__ = {};
|
|
7835
|
+
/******/
|
|
7836
|
+
/******/ // The require function
|
|
7837
|
+
/******/ function __webpack_require__(moduleId) {
|
|
7838
|
+
/******/ // Check if module is in cache
|
|
7839
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
7840
|
+
/******/ if (cachedModule !== undefined) {
|
|
7841
|
+
/******/ return cachedModule.exports;
|
|
7842
|
+
/******/ }
|
|
7843
|
+
/******/ // Create a new module (and put it into the cache)
|
|
7844
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
7845
|
+
/******/ // no module.id needed
|
|
7846
|
+
/******/ // no module.loaded needed
|
|
7847
|
+
/******/ exports: {}
|
|
7848
|
+
/******/ };
|
|
7849
|
+
/******/
|
|
7850
|
+
/******/ // Execute the module function
|
|
7851
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
7852
|
+
/******/
|
|
7853
|
+
/******/ // Return the exports of the module
|
|
7854
|
+
/******/ return module.exports;
|
|
7855
|
+
/******/ }
|
|
7856
|
+
/******/
|
|
7857
|
+
/************************************************************************/
|
|
7858
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
7859
|
+
/******/ !function() {
|
|
7860
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
7861
|
+
/******/ __webpack_require__.n = function(module) {
|
|
7862
|
+
/******/ var getter = module && module.__esModule ?
|
|
7863
|
+
/******/ function() { return module['default']; } :
|
|
7864
|
+
/******/ function() { return module; };
|
|
7865
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
7866
|
+
/******/ return getter;
|
|
7867
|
+
/******/ };
|
|
7868
|
+
/******/ }();
|
|
7869
|
+
/******/
|
|
7870
|
+
/******/ /* webpack/runtime/define property getters */
|
|
7871
|
+
/******/ !function() {
|
|
7872
|
+
/******/ // define getter functions for harmony exports
|
|
7873
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
7874
|
+
/******/ for(var key in definition) {
|
|
7875
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
7876
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
7877
|
+
/******/ }
|
|
7878
|
+
/******/ }
|
|
7879
|
+
/******/ };
|
|
7880
|
+
/******/ }();
|
|
7881
|
+
/******/
|
|
7882
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
7883
|
+
/******/ !function() {
|
|
7884
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
7885
|
+
/******/ }();
|
|
7886
|
+
/******/
|
|
7887
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
7888
|
+
/******/ !function() {
|
|
7889
|
+
/******/ // define __esModule on exports
|
|
7890
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
7891
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
7892
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
7893
|
+
/******/ }
|
|
7894
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
7895
|
+
/******/ };
|
|
7896
|
+
/******/ }();
|
|
7897
|
+
/******/
|
|
7898
|
+
/************************************************************************/
|
|
7899
|
+
var __webpack_exports__ = {};
|
|
7900
|
+
// ESM COMPAT FLAG
|
|
7901
|
+
__webpack_require__.r(__webpack_exports__);
|
|
7902
|
+
|
|
7903
|
+
// EXPORTS
|
|
7904
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
7905
|
+
FixedZoomoutViewModel: function() { return /* reexport */ FixedZoomoutViewModel/* default */.A; },
|
|
7906
|
+
"default": function() { return /* reexport */ FixedZoomout; }
|
|
7907
|
+
});
|
|
7908
|
+
|
|
7909
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
7910
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
7911
|
+
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
7912
|
+
var icons_vue_ = __webpack_require__(9371);
|
|
7913
|
+
// EXTERNAL MODULE: ./src/webgl/fixedzoomout/FixedZoomoutViewModel.js
|
|
7914
|
+
var FixedZoomoutViewModel = __webpack_require__(4435);
|
|
7915
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
7916
|
+
var gis_utils_ = __webpack_require__(64);
|
|
7917
|
+
// EXTERNAL MODULE: ./src/common/configprovider/useGlobalConfig.js + 124 modules
|
|
7918
|
+
var fixedzoomout_useGlobalConfig = __webpack_require__(4605);
|
|
7872
7919
|
;// ./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/fixedzoomout/FixedZoomout.vue?vue&type=script&setup=true&lang=js
|
|
7873
7920
|
|
|
7874
7921
|
|
|
@@ -7900,13 +7947,12 @@ const __default__ = {
|
|
|
7900
7947
|
setup(__props) {
|
|
7901
7948
|
|
|
7902
7949
|
const props = __props;
|
|
7903
|
-
const { proxy } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
7904
7950
|
|
|
7905
7951
|
let viewModel = null;
|
|
7906
7952
|
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
7907
7953
|
|
|
7908
7954
|
// 国际化
|
|
7909
|
-
const { t } = useLocale();
|
|
7955
|
+
const { t } = (0,fixedzoomout_useGlobalConfig/* useLocale */.Y)();
|
|
7910
7956
|
|
|
7911
7957
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
7912
7958
|
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
package/floodanalysis/index.js
CHANGED
|
@@ -261,6 +261,16 @@ class FloodAnalysisViewModel {
|
|
|
261
261
|
this._floodModelAnalysis.colorImage = options.colorImage;
|
|
262
262
|
var that = this;
|
|
263
263
|
this._measureHandler = new Cesium.Kq3dMeasureHandler(scenceView._viewer);
|
|
264
|
+
if(scenceView._props.showDrawTipsStyle){
|
|
265
|
+
this._measureHandler.showDrawTips = scenceView._props.showDrawTipsStyle;
|
|
266
|
+
this._measureHandler.drawTipsStyle = {
|
|
267
|
+
...scenceView._drawTipsStyle,
|
|
268
|
+
...{
|
|
269
|
+
beforeDrawText: this._language?.beforeDrawText,
|
|
270
|
+
duringDrawText: this._language?.duringDrawText
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
264
274
|
this._measureHandler.measureEvent.addEventListener(function (result) {
|
|
265
275
|
that._measureResult = result;
|
|
266
276
|
result.measureResult.label.show = false;
|
|
@@ -225,6 +225,16 @@ class GeologicalBodyAnalysisViewModel {
|
|
|
225
225
|
this._viewer = scenceView._viewer;
|
|
226
226
|
this.callbackParams = callbackParams;
|
|
227
227
|
this._measureHandler = new Cesium.Kq3dMeasureHandler(scenceView._viewer);
|
|
228
|
+
if(scenceView._props.showDrawTipsStyle){
|
|
229
|
+
this._measureHandler.showDrawTips = scenceView._props.showDrawTipsStyle;
|
|
230
|
+
this._measureHandler.drawTipsStyle = {
|
|
231
|
+
...scenceView._drawTipsStyle,
|
|
232
|
+
...{
|
|
233
|
+
beforeDrawText: this._language?.beforeDrawText,
|
|
234
|
+
duringDrawText: this._language?.duringDrawText
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
228
238
|
this._measureHandler.measureEvent.addEventListener(function (result) {
|
|
229
239
|
if(result.measureResult.labels) result.measureResult.labels.show = false;
|
|
230
240
|
});
|
package/gpuspatialquery/index.js
CHANGED
|
@@ -292,17 +292,19 @@ class GPUSpatialQueryViewModel {
|
|
|
292
292
|
if (flag) {
|
|
293
293
|
this.clear();
|
|
294
294
|
this.findLayers();
|
|
295
|
-
this._drawManager
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
295
|
+
if(this._drawManager) {
|
|
296
|
+
this._drawManager.startDraw("marker", { image: null }, (feature, { shape }) => {
|
|
297
|
+
if (!shape.groupName || shape.groupName !== "GPUSpatialQueryDraw") return;
|
|
298
|
+
if (shape) {
|
|
299
|
+
that._center = shape.position;
|
|
300
|
+
setTimeout(() => {
|
|
301
|
+
//绘制跟高亮显示有冲突,所以延时执行查询
|
|
302
|
+
that.startQuery();
|
|
303
|
+
}, 10);
|
|
304
|
+
}
|
|
305
|
+
that._drawManager.clearDrawGroup("GPUSpatialQueryDraw");
|
|
306
|
+
}, "GPUSpatialQueryDraw", true);
|
|
307
|
+
}
|
|
306
308
|
} else {
|
|
307
309
|
(0,message/* default */.A)({
|
|
308
310
|
message: this._language["addModelAnalysisTips"],
|
|
@@ -322,8 +324,9 @@ class GPUSpatialQueryViewModel {
|
|
|
322
324
|
|
|
323
325
|
//清除全部结果
|
|
324
326
|
clear() {
|
|
327
|
+
this._drawManager?.clearDrawGroup("GPUSpatialQueryDraw");
|
|
325
328
|
this._gpuSpatialQuery && this._gpuSpatialQuery.clear();
|
|
326
|
-
this._drawManager
|
|
329
|
+
this._drawManager?.stopDraw();
|
|
327
330
|
}
|
|
328
331
|
|
|
329
332
|
//销毁
|