@kq_npm/client3d_webgl_vue 4.3.2 → 4.3.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.
- package/adddata/index.js +35 -4
- package/adddata/style/adddata.css +110 -1
- package/aspectanalysis/style/aspectanalysis.css +101 -1
- package/baseterraingallery/index.js +2 -2
- package/baseterraingallery/style/baseterraingallery.css +88 -1
- package/boxclip/index.js +10 -0
- package/boxclip/style/boxclip.css +97 -1
- package/clientPrint/index.js +5 -15
- package/clientPrint/style/clientPrint.css +461 -1
- package/comparemap/index.js +136 -145
- package/comparemap/style/comparemap.css +35 -1
- package/compass/index.js +2 -2
- package/excavatefillanalysis/style/excavatefillanalysis.css +140 -1
- package/fixedzoomin/index.js +2 -2
- package/fixedzoomout/index.js +2 -2
- package/flight/index.js +13 -3
- package/flight/style/flight.css +150 -1
- package/floodanalysis/style/floodanalysis.css +95 -1
- package/geologicalbodyanalysis/index.js +10 -0
- package/geologicalbodyanalysis/style/geologicalbodyanalysis.css +64 -1
- package/gpuspatialquery/index.js +10 -0
- package/gpuspatialquery/style/gpuspatialquery.css +88 -1
- package/hawkeye/index.js +2 -2
- package/index.js +46 -9
- package/isolineanalysis/style/isolineanalysis.css +113 -1
- package/light/index.js +170 -169
- package/light/style/light.css +104 -1
- package/limitheightanalysis/index.js +126 -125
- package/limitheightanalysis/style/limitheightanalysis.css +88 -1
- package/measure/index.js +5 -5
- package/measure/style/measure.css +84 -1
- package/modelFlat/index.js +10 -0
- package/modelFlat/style/modelFlat.css +66 -1
- package/modelexcavate/index.js +10 -0
- package/modelexcavate/style/modelexcavate.css +66 -1
- package/modelfilter/index.js +10 -0
- package/modelfilter/style/modelfilter.css +66 -1
- package/modelprofileanalysis/index.js +165 -164
- package/modelprofileanalysis/style/modelprofileanalysis.css +94 -1
- package/modelselect/index.js +10 -0
- package/modelselect/style/modelselect.css +28 -1
- package/package.json +1 -1
- package/particleeffect/index.js +10 -0
- package/particleeffect/style/particleeffect.css +94 -1
- package/planeclip/index.js +10 -0
- package/planeclip/style/planeclip.css +94 -1
- package/resetview/index.js +2 -2
- package/roller/index.js +171 -170
- package/roller/style/roller.css +59 -1
- package/scaneffect/index.js +10 -0
- package/scaneffect/style/scaneffect.css +101 -1
- package/sceneset/index.js +10 -1
- package/sceneset/style/sceneset.css +86 -1
- package/sceneview/index.js +313 -270
- package/sceneview/style/sceneview.css +127 -1
- package/screenshot/index.js +159 -158
- package/screenshot/style/screenshot.css +53 -1
- package/shadowanalysis/style/shadowanalysis.css +141 -1
- package/sightlineanalysis/index.js +7 -5
- package/sightlineanalysis/style/divpoint.css +22 -1
- package/sightlineanalysis/style/sightlineanalysis.css +85 -1
- package/skylineanalysis/style/skylineanalysis.css +100 -1
- package/slopeanalysis/style/slopeanalysis.css +101 -1
- package/statusbar/index.js +12 -3
- package/style.css +3817 -1
- package/terrainoperation/index.js +10 -0
- package/terrainoperation/style/terrainoperation.css +66 -1
- package/terrainprofileanalysis/index.js +10 -0
- package/terrainprofileanalysis/style/terrainprofileanalysis.css +83 -1
- package/underground/index.js +3 -3
- package/underground/style/underground.css +19 -1
- package/videofusion/index.js +35 -5
- package/videofusion/style/videofusion.css +104 -1
- package/videoproject/index.js +35 -5
- package/videoproject/style/videoproject.css +104 -1
- package/viewshedanalysis/style/viewshedanalysis.css +88 -1
- package/weathereffect/style/weathereffect.css +95 -1
- package/wireframesketch/index.js +10 -0
- package/wireframesketch/style/wireframesketch.css +12 -1
|
@@ -12,133 +12,17 @@ return /******/ (function() { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
16
|
-
/***/ (function(
|
|
17
|
-
|
|
18
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */ "Z": function() { return /* binding */ LimitHeightAnalysisViewModel; }
|
|
20
|
-
/* harmony export */ });
|
|
21
|
-
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
22
|
-
|
|
23
|
-
//限高分析逻辑类
|
|
24
|
-
class LimitHeightAnalysisViewModel {
|
|
25
|
-
//三维viewer对象
|
|
26
|
-
//限高分析存储参数对象
|
|
27
|
-
constructor(scenceView, options) {
|
|
28
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
29
|
-
|
|
30
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", {});
|
|
31
|
-
|
|
32
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
|
|
33
|
-
|
|
34
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawFinishedEventListener", null);
|
|
35
|
-
|
|
36
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_limitHeightAnalysis", null);
|
|
37
|
-
|
|
38
|
-
this._viewer = scenceView._viewer;
|
|
39
|
-
this._options = options;
|
|
40
|
-
this._drawManager = scenceView._drawManager;
|
|
41
|
-
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
42
|
-
|
|
43
|
-
this._viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
44
|
-
var that = this;
|
|
45
|
-
this._drawFinishedEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
46
|
-
if (shape) {
|
|
47
|
-
that._options.positions = shape._controlPoints;
|
|
48
|
-
that.drawPolygon();
|
|
49
|
-
|
|
50
|
-
that._drawManager.clear();
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
} // 绘制限高分析,显示分析体
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
drawPolygon() {
|
|
57
|
-
if (!this._options.positions) return;
|
|
58
|
-
var newPositions = [];
|
|
59
|
-
|
|
60
|
-
this._options.positions.forEach(item => {
|
|
61
|
-
var newPos = window.Cesium.Cartographic.fromCartesian(item);
|
|
62
|
-
newPositions.push(newPos.longitude);
|
|
63
|
-
newPositions.push(newPos.latitude);
|
|
64
|
-
newPositions.push(newPos.height);
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
var options = {
|
|
68
|
-
viewer: this._viewer,
|
|
69
|
-
baseHeight: Number(this._options.baseHeight),
|
|
70
|
-
limitHeight: Number(this._options.limitHeight),
|
|
71
|
-
limitColor: window.Cesium.Color.fromCssColorString(this._options.limitHeightColor).withAlpha(this._options.limitColorAlpha),
|
|
72
|
-
overColor: window.Cesium.Color.fromCssColorString(this._options.overHeightColor).withAlpha(this._options.overHeightColorAlpha),
|
|
73
|
-
positions: newPositions,
|
|
74
|
-
perPositionHeight: false,
|
|
75
|
-
classificationType: window.Cesium.ClassificationType.CESIUM_3D_TILE
|
|
76
|
-
};
|
|
77
|
-
this._limitHeightAnalysis = new window.Cesium.Kq3dLimitHeightAnalysis(options);
|
|
78
|
-
|
|
79
|
-
this._limitHeightAnalysis.add();
|
|
80
|
-
} // 开始分析
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
start() {
|
|
84
|
-
this.clear();
|
|
85
|
-
|
|
86
|
-
if (this._drawManager) {
|
|
87
|
-
this._drawManager.startDraw("polygon", {
|
|
88
|
-
clampToGround: true
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
} // 修改基底高度
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
changeBaseHeight(val) {
|
|
95
|
-
this._options.baseHeight = val;
|
|
96
|
-
this.clear();
|
|
97
|
-
this.drawPolygon();
|
|
98
|
-
} // 修改限制高度
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
changeLimitHeight(val) {
|
|
102
|
-
this._options.limitHeight = val;
|
|
103
|
-
this.clear();
|
|
104
|
-
this.drawPolygon();
|
|
105
|
-
} // 修改限制高度颜色
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
changeLimitHeightColor(val) {
|
|
109
|
-
this._options.limitHeightColor = val;
|
|
110
|
-
this.clear();
|
|
111
|
-
this.drawPolygon();
|
|
112
|
-
} // 修改超出高度颜色
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
changeOverHeightColor(val) {
|
|
116
|
-
this._options.overHeightColor = val;
|
|
117
|
-
this.clear();
|
|
118
|
-
this.drawPolygon();
|
|
119
|
-
} // 清除全部
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
clear() {
|
|
123
|
-
this._limitHeightAnalysis && this._limitHeightAnalysis.remove();
|
|
124
|
-
this._drawManager && this._drawManager.stopDraw();
|
|
125
|
-
} // 销毁
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
destroy() {
|
|
129
|
-
this.clear();
|
|
130
|
-
this._drawFinishedEventListener && this._drawFinishedEventListener();
|
|
131
|
-
this._drawFinishedEventListener = null;
|
|
132
|
-
}
|
|
15
|
+
/***/ 348:
|
|
16
|
+
/***/ (function(module) {
|
|
133
17
|
|
|
134
|
-
|
|
18
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
135
19
|
|
|
136
20
|
/***/ }),
|
|
137
21
|
|
|
138
|
-
/***/
|
|
22
|
+
/***/ 2118:
|
|
139
23
|
/***/ (function(module) {
|
|
140
24
|
|
|
141
|
-
module.exports = require("
|
|
25
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
142
26
|
|
|
143
27
|
/***/ }),
|
|
144
28
|
|
|
@@ -276,7 +160,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
276
160
|
|
|
277
161
|
// EXPORTS
|
|
278
162
|
__webpack_require__.d(__webpack_exports__, {
|
|
279
|
-
"LimitHeightAnalysisViewModel": function() { return /* reexport */ LimitHeightAnalysisViewModel
|
|
163
|
+
"LimitHeightAnalysisViewModel": function() { return /* reexport */ LimitHeightAnalysisViewModel; },
|
|
280
164
|
"default": function() { return /* reexport */ LimitHeightAnalysis; }
|
|
281
165
|
});
|
|
282
166
|
|
|
@@ -286,8 +170,125 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
286
170
|
var gis_utils_ = __webpack_require__(7135);
|
|
287
171
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
288
172
|
var client_icons_vue_ = __webpack_require__(348);
|
|
289
|
-
// EXTERNAL MODULE: ./
|
|
290
|
-
var
|
|
173
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
174
|
+
var defineProperty = __webpack_require__(8270);
|
|
175
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
176
|
+
var es_array_push_js_ = __webpack_require__(2118);
|
|
177
|
+
;// CONCATENATED MODULE: ./src/webgl/limitheightanalysis/LimitHeightAnalysisViewModel.js
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
//限高分析逻辑类
|
|
181
|
+
class LimitHeightAnalysisViewModel {
|
|
182
|
+
//三维viewer对象
|
|
183
|
+
//限高分析存储参数对象
|
|
184
|
+
constructor(scenceView, options) {
|
|
185
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
186
|
+
|
|
187
|
+
(0,defineProperty/* default */.Z)(this, "_options", {});
|
|
188
|
+
|
|
189
|
+
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
190
|
+
|
|
191
|
+
(0,defineProperty/* default */.Z)(this, "_drawFinishedEventListener", null);
|
|
192
|
+
|
|
193
|
+
(0,defineProperty/* default */.Z)(this, "_limitHeightAnalysis", null);
|
|
194
|
+
|
|
195
|
+
this._viewer = scenceView._viewer;
|
|
196
|
+
this._options = options;
|
|
197
|
+
this._drawManager = scenceView._drawManager;
|
|
198
|
+
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
199
|
+
|
|
200
|
+
this._viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
201
|
+
var that = this;
|
|
202
|
+
this._drawFinishedEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
203
|
+
if (shape) {
|
|
204
|
+
that._options.positions = shape._controlPoints;
|
|
205
|
+
that.drawPolygon();
|
|
206
|
+
|
|
207
|
+
that._drawManager.clear();
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
} // 绘制限高分析,显示分析体
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
drawPolygon() {
|
|
214
|
+
if (!this._options.positions) return;
|
|
215
|
+
var newPositions = [];
|
|
216
|
+
|
|
217
|
+
this._options.positions.forEach(item => {
|
|
218
|
+
var newPos = window.Cesium.Cartographic.fromCartesian(item);
|
|
219
|
+
newPositions.push(newPos.longitude);
|
|
220
|
+
newPositions.push(newPos.latitude);
|
|
221
|
+
newPositions.push(newPos.height);
|
|
222
|
+
});
|
|
223
|
+
|
|
224
|
+
var options = {
|
|
225
|
+
viewer: this._viewer,
|
|
226
|
+
baseHeight: Number(this._options.baseHeight),
|
|
227
|
+
limitHeight: Number(this._options.limitHeight),
|
|
228
|
+
limitColor: window.Cesium.Color.fromCssColorString(this._options.limitHeightColor).withAlpha(this._options.limitColorAlpha),
|
|
229
|
+
overColor: window.Cesium.Color.fromCssColorString(this._options.overHeightColor).withAlpha(this._options.overHeightColorAlpha),
|
|
230
|
+
positions: newPositions,
|
|
231
|
+
perPositionHeight: false,
|
|
232
|
+
classificationType: window.Cesium.ClassificationType.CESIUM_3D_TILE
|
|
233
|
+
};
|
|
234
|
+
this._limitHeightAnalysis = new window.Cesium.Kq3dLimitHeightAnalysis(options);
|
|
235
|
+
|
|
236
|
+
this._limitHeightAnalysis.add();
|
|
237
|
+
} // 开始分析
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
start() {
|
|
241
|
+
this.clear();
|
|
242
|
+
|
|
243
|
+
if (this._drawManager) {
|
|
244
|
+
this._drawManager.startDraw("polygon", {
|
|
245
|
+
clampToGround: true
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
} // 修改基底高度
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
changeBaseHeight(val) {
|
|
252
|
+
this._options.baseHeight = val;
|
|
253
|
+
this.clear();
|
|
254
|
+
this.drawPolygon();
|
|
255
|
+
} // 修改限制高度
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
changeLimitHeight(val) {
|
|
259
|
+
this._options.limitHeight = val;
|
|
260
|
+
this.clear();
|
|
261
|
+
this.drawPolygon();
|
|
262
|
+
} // 修改限制高度颜色
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
changeLimitHeightColor(val) {
|
|
266
|
+
this._options.limitHeightColor = val;
|
|
267
|
+
this.clear();
|
|
268
|
+
this.drawPolygon();
|
|
269
|
+
} // 修改超出高度颜色
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
changeOverHeightColor(val) {
|
|
273
|
+
this._options.overHeightColor = val;
|
|
274
|
+
this.clear();
|
|
275
|
+
this.drawPolygon();
|
|
276
|
+
} // 清除全部
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
clear() {
|
|
280
|
+
this._limitHeightAnalysis && this._limitHeightAnalysis.remove();
|
|
281
|
+
this._drawManager && this._drawManager.stopDraw();
|
|
282
|
+
} // 销毁
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
destroy() {
|
|
286
|
+
this.clear();
|
|
287
|
+
this._drawFinishedEventListener && this._drawFinishedEventListener();
|
|
288
|
+
this._drawFinishedEventListener = null;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
}
|
|
291
292
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
292
293
|
var util_ = __webpack_require__(3458);
|
|
293
294
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
@@ -413,7 +414,7 @@ const __default__ = {
|
|
|
413
414
|
|
|
414
415
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
415
416
|
if (scenceView) {
|
|
416
|
-
viewModel = new LimitHeightAnalysisViewModel
|
|
417
|
+
viewModel = new LimitHeightAnalysisViewModel(scenceView, {
|
|
417
418
|
baseHeight: formItem.baseHeight,
|
|
418
419
|
limitHeight: formItem.limitHeight,
|
|
419
420
|
limitHeightColor: formItem.limitHeightColor,
|
|
@@ -1 +1,88 @@
|
|
|
1
|
-
.kq3d-limitheight-analysis
|
|
1
|
+
.kq3d-limitheight-analysis {
|
|
2
|
+
z-index: 999;
|
|
3
|
+
border-radius: var(--kq-border-radius-base);
|
|
4
|
+
padding: 16px;
|
|
5
|
+
pointer-events: auto;
|
|
6
|
+
cursor: default;
|
|
7
|
+
background-color: var(--kq-bg-color);
|
|
8
|
+
}
|
|
9
|
+
.kq3d-limitheight-analysis .kq3d-limitheight-analysis-box {
|
|
10
|
+
width: 372px;
|
|
11
|
+
}
|
|
12
|
+
.kq3d-limitheight-analysis .kq3d-limitheight-analysis-tip {
|
|
13
|
+
color: var(--kq-text-color-regular);
|
|
14
|
+
font-size: var(--kq-font-size-base);
|
|
15
|
+
}
|
|
16
|
+
.kq3d-limitheight-analysis .kq3d-limitheight-analysis-tip p {
|
|
17
|
+
margin-top: 0px;
|
|
18
|
+
margin-bottom: 16px;
|
|
19
|
+
}
|
|
20
|
+
.kq3d-limitheight-analysis .kq-collapse {
|
|
21
|
+
border: unset;
|
|
22
|
+
}
|
|
23
|
+
.kq3d-limitheight-analysis .kq-collapse .kq-collapse-item__header {
|
|
24
|
+
border: unset;
|
|
25
|
+
height: 38px;
|
|
26
|
+
background-color: var(--kq-fill-color-light);
|
|
27
|
+
font-weight: bold;
|
|
28
|
+
padding: 0px 16px;
|
|
29
|
+
font-size: 16px;
|
|
30
|
+
}
|
|
31
|
+
.kq3d-limitheight-analysis .kq-collapse .kq-collapse-item__arrow {
|
|
32
|
+
margin: 0 0px 0 auto;
|
|
33
|
+
}
|
|
34
|
+
.kq3d-limitheight-analysis .kq-collapse .kq-collapse-item__wrap .kq-collapse-item__content {
|
|
35
|
+
padding-bottom: unset;
|
|
36
|
+
border: unset;
|
|
37
|
+
padding-top: 10px;
|
|
38
|
+
}
|
|
39
|
+
.kq3d-limitheight-analysis .kq-form-item {
|
|
40
|
+
margin-bottom: 8px;
|
|
41
|
+
}
|
|
42
|
+
.kq3d-limitheight-analysis .kq-form-item__content {
|
|
43
|
+
text-align: end;
|
|
44
|
+
display: block;
|
|
45
|
+
}
|
|
46
|
+
.kq3d-limitheight-analysis .kq-row {
|
|
47
|
+
display: block;
|
|
48
|
+
}
|
|
49
|
+
.kq3d-limitheight-analysis .kq-slider {
|
|
50
|
+
width: 95%;
|
|
51
|
+
padding-left: 7px;
|
|
52
|
+
}
|
|
53
|
+
.kq3d-limitheight-analysis .kq-slider .kq-slider__button {
|
|
54
|
+
width: 14px;
|
|
55
|
+
height: 14px;
|
|
56
|
+
}
|
|
57
|
+
.kq3d-limitheight-analysis .kq-input-number {
|
|
58
|
+
width: 65px;
|
|
59
|
+
}
|
|
60
|
+
.kq3d-limitheight-analysis .kq-input-number .kq-input-number__increase,
|
|
61
|
+
.kq3d-limitheight-analysis .kq-input-number .kq-input-number__decrease {
|
|
62
|
+
width: 20px;
|
|
63
|
+
}
|
|
64
|
+
.kq3d-limitheight-analysis .kq-input-number .kq-input__wrapper {
|
|
65
|
+
padding-left: 0px;
|
|
66
|
+
padding-right: 20px;
|
|
67
|
+
}
|
|
68
|
+
.kq3d-limitheight-analysis .kq-col-8 .kq-input-number .kq-input__wrapper {
|
|
69
|
+
padding-left: 0px;
|
|
70
|
+
padding-right: 20px;
|
|
71
|
+
}
|
|
72
|
+
.kq3d-limitheight-analysis .kq-color-picker {
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
.kq3d-limitheight-analysis .kq-color-picker .kq-color-picker__mask {
|
|
76
|
+
width: 100%;
|
|
77
|
+
}
|
|
78
|
+
.kq3d-limitheight-analysis .kq-color-picker .kq-color-picker__trigger {
|
|
79
|
+
width: 100%;
|
|
80
|
+
}
|
|
81
|
+
.kq3d-limitheight-analysis .kq3d-limitheight-analysis-footer {
|
|
82
|
+
text-align: right;
|
|
83
|
+
padding: 16px 0px 0px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.cesium-viewer-cesiumWidgetContainer .twipsy {
|
|
87
|
+
display: none !important;
|
|
88
|
+
}
|
package/measure/index.js
CHANGED
|
@@ -45,7 +45,7 @@ index_full_js_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
|
45
45
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
46
46
|
/* harmony export */ "Z": function() { return /* binding */ MeasureViewModel; }
|
|
47
47
|
/* harmony export */ });
|
|
48
|
-
/* harmony import */ var
|
|
48
|
+
/* harmony import */ var G_0929_zl_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
49
49
|
|
|
50
50
|
//测量操作类
|
|
51
51
|
class MeasureViewModel {
|
|
@@ -53,13 +53,13 @@ class MeasureViewModel {
|
|
|
53
53
|
//测量事件
|
|
54
54
|
//活动事件
|
|
55
55
|
constructor(viewer) {
|
|
56
|
-
(0,
|
|
56
|
+
(0,G_0929_zl_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
57
57
|
|
|
58
|
-
(0,
|
|
58
|
+
(0,G_0929_zl_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_measureHandler", null);
|
|
59
59
|
|
|
60
|
-
(0,
|
|
60
|
+
(0,G_0929_zl_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "measureEvent", null);
|
|
61
61
|
|
|
62
|
-
(0,
|
|
62
|
+
(0,G_0929_zl_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "activeEvent", null);
|
|
63
63
|
|
|
64
64
|
this._measureHandler = new Cesium.Kq3dMeasureHandler(viewer);
|
|
65
65
|
this._viewer = viewer;
|
|
@@ -1 +1,84 @@
|
|
|
1
|
-
.kq-measure3d
|
|
1
|
+
.kq-measure3d {
|
|
2
|
+
z-index: 999;
|
|
3
|
+
border-radius: var(--kq-border-radius-base);
|
|
4
|
+
padding: 16px;
|
|
5
|
+
pointer-events: auto;
|
|
6
|
+
cursor: default;
|
|
7
|
+
background-color: var(--kq-bg-color);
|
|
8
|
+
}
|
|
9
|
+
.kq-measure3d .kq-measure3d-box {
|
|
10
|
+
width: 370px;
|
|
11
|
+
}
|
|
12
|
+
.kq-measure3d p {
|
|
13
|
+
margin: 0;
|
|
14
|
+
}
|
|
15
|
+
.kq-measure3d .kq-measure3d-mode .panel {
|
|
16
|
+
width: 100%;
|
|
17
|
+
}
|
|
18
|
+
.kq-measure3d .kq-measure3d-mode .panel .title {
|
|
19
|
+
color: var(--kq-text-color-regular);
|
|
20
|
+
margin: 0 0 8px 0;
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
}
|
|
23
|
+
.kq-measure3d .kq-measure3d-mode .panel .kq-select {
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
|
26
|
+
.kq-measure3d .kq-measure3d-btns {
|
|
27
|
+
margin-top: 12px;
|
|
28
|
+
}
|
|
29
|
+
.kq-measure3d .kq-measure3d-btns .kq-button {
|
|
30
|
+
width: 48px;
|
|
31
|
+
height: 48px;
|
|
32
|
+
}
|
|
33
|
+
.kq-measure3d .kq-measure3d-btns .kq-button .kq-icon {
|
|
34
|
+
color: var(--kq-color-primary);
|
|
35
|
+
}
|
|
36
|
+
.kq-measure3d .kq-measure3d-btns .kq-button .icon-delete {
|
|
37
|
+
color: var(--kq-color-danger);
|
|
38
|
+
}
|
|
39
|
+
.kq-measure3d .kq-measure3d-btns .kq-button:hover .icon-delete, .kq-measure3d .kq-measure3d-btns .kq-button:active .icon-delete, .kq-measure3d .kq-measure3d-btns .kq-button:focus .icon-delete {
|
|
40
|
+
color: var(--kq-color-white) !important;
|
|
41
|
+
}
|
|
42
|
+
.kq-measure3d .kq-measure3d-btns .kq-button + .kq-button {
|
|
43
|
+
margin-left: 16px;
|
|
44
|
+
}
|
|
45
|
+
.kq-measure3d .kq-measure3d-tip {
|
|
46
|
+
color: var(--kq-text-color-regular);
|
|
47
|
+
font-size: 13px;
|
|
48
|
+
}
|
|
49
|
+
.kq-measure3d .kq-measure3d-tip .kq-divider {
|
|
50
|
+
margin: 16px 0;
|
|
51
|
+
}
|
|
52
|
+
.kq-measure3d .kq-measure3d-tip > p {
|
|
53
|
+
margin: 0;
|
|
54
|
+
}
|
|
55
|
+
.kq-measure3d .kq-measure3d-result .kq-divider {
|
|
56
|
+
margin: 16px 0;
|
|
57
|
+
}
|
|
58
|
+
.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel {
|
|
59
|
+
padding-bottom: 16px;
|
|
60
|
+
}
|
|
61
|
+
.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel:last-child {
|
|
62
|
+
padding: 0;
|
|
63
|
+
}
|
|
64
|
+
.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel .title {
|
|
65
|
+
color: var(--kq-text-color-regular);
|
|
66
|
+
margin: 0 0 8px 0;
|
|
67
|
+
font-size: 14px;
|
|
68
|
+
}
|
|
69
|
+
.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel .kq-select {
|
|
70
|
+
width: 100%;
|
|
71
|
+
}
|
|
72
|
+
.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel .result {
|
|
73
|
+
padding: 8px;
|
|
74
|
+
background: var(--kq-sub-bg-color);
|
|
75
|
+
border-radius: var(--kq-border-radius-base);
|
|
76
|
+
color: var(--kq-text-color-regular);
|
|
77
|
+
font-size: 14px;
|
|
78
|
+
}
|
|
79
|
+
.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel .result .tit {
|
|
80
|
+
padding-bottom: 8px;
|
|
81
|
+
}
|
|
82
|
+
.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel .result .res + .tit {
|
|
83
|
+
padding-top: 12px;
|
|
84
|
+
}
|
package/modelFlat/index.js
CHANGED
|
@@ -46,6 +46,13 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
46
46
|
|
|
47
47
|
/***/ }),
|
|
48
48
|
|
|
49
|
+
/***/ 2118:
|
|
50
|
+
/***/ (function(module) {
|
|
51
|
+
|
|
52
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
53
|
+
|
|
54
|
+
/***/ }),
|
|
55
|
+
|
|
49
56
|
/***/ 7080:
|
|
50
57
|
/***/ (function(module) {
|
|
51
58
|
|
|
@@ -190,10 +197,13 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
190
197
|
var gis_utils_ = __webpack_require__(7135);
|
|
191
198
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
192
199
|
var defineProperty = __webpack_require__(8270);
|
|
200
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
201
|
+
var es_array_push_js_ = __webpack_require__(2118);
|
|
193
202
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
194
203
|
var message = __webpack_require__(3694);
|
|
195
204
|
;// CONCATENATED MODULE: ./src/webgl/modelFlat/ModelFlatViewModel.js
|
|
196
205
|
|
|
206
|
+
|
|
197
207
|
//模型拾取逻辑类
|
|
198
208
|
|
|
199
209
|
class ModelFlatViewModel {
|
|
@@ -1 +1,66 @@
|
|
|
1
|
-
.kq3d-model-flat
|
|
1
|
+
.kq3d-model-flat {
|
|
2
|
+
z-index: 999;
|
|
3
|
+
border-radius: var(--kq-border-radius-base);
|
|
4
|
+
padding: 16px;
|
|
5
|
+
pointer-events: auto;
|
|
6
|
+
cursor: default;
|
|
7
|
+
background-color: var(--kq-bg-color);
|
|
8
|
+
}
|
|
9
|
+
.kq3d-model-flat .kq3d-model-flat-box {
|
|
10
|
+
width: 350px;
|
|
11
|
+
}
|
|
12
|
+
.kq3d-model-flat .kq-row {
|
|
13
|
+
margin-bottom: 8px;
|
|
14
|
+
}
|
|
15
|
+
.kq3d-model-flat .kq-form-item {
|
|
16
|
+
margin-bottom: 8px;
|
|
17
|
+
}
|
|
18
|
+
.kq3d-model-flat .kq3d-model-flat-span {
|
|
19
|
+
color: var(--kq-text-color-regular);
|
|
20
|
+
line-height: 32px;
|
|
21
|
+
font-size: var(--kq-font-size-base);
|
|
22
|
+
}
|
|
23
|
+
.kq3d-model-flat .kq3d-model-flat-tip {
|
|
24
|
+
color: var(--kq-text-color-regular);
|
|
25
|
+
font-size: var(--kq-font-size-base);
|
|
26
|
+
}
|
|
27
|
+
.kq3d-model-flat .kq3d-model-flat-tip p {
|
|
28
|
+
margin: 0px;
|
|
29
|
+
display: -webkit-box;
|
|
30
|
+
display: -ms-flexbox;
|
|
31
|
+
display: flex;
|
|
32
|
+
-webkit-box-align: center;
|
|
33
|
+
-ms-flex-align: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
-webkit-font-feature-settings: "tnum" on, "lnum" on;
|
|
36
|
+
font-feature-settings: "tnum" on, "lnum" on;
|
|
37
|
+
font-family: "Noto Sans SC";
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-weight: 400;
|
|
40
|
+
}
|
|
41
|
+
.kq3d-model-flat .kq-slider {
|
|
42
|
+
width: 100%;
|
|
43
|
+
}
|
|
44
|
+
.kq3d-model-flat .kq-slider .kq-slider__button {
|
|
45
|
+
width: 14px;
|
|
46
|
+
height: 14px;
|
|
47
|
+
}
|
|
48
|
+
.kq3d-model-flat .kq-input-number.is-controls-right {
|
|
49
|
+
width: 65px;
|
|
50
|
+
}
|
|
51
|
+
.kq3d-model-flat .kq-input-number.is-controls-right .kq-input-number__increase,
|
|
52
|
+
.kq3d-model-flat .kq-input-number.is-controls-right .kq-input-number__decrease {
|
|
53
|
+
width: 20px;
|
|
54
|
+
}
|
|
55
|
+
.kq3d-model-flat .kq-input-number.is-controls-right .kq-input__wrapper {
|
|
56
|
+
padding-left: 0px;
|
|
57
|
+
padding-right: 20px;
|
|
58
|
+
}
|
|
59
|
+
.kq3d-model-flat .kq-col-8 .kq-input-number .kq-input__wrapper {
|
|
60
|
+
padding-left: 0px;
|
|
61
|
+
padding-right: 20px;
|
|
62
|
+
}
|
|
63
|
+
.kq3d-model-flat .kq3d-model-flat-footer {
|
|
64
|
+
text-align: right;
|
|
65
|
+
padding: 8px 0px 0px;
|
|
66
|
+
}
|
package/modelexcavate/index.js
CHANGED
|
@@ -46,6 +46,13 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
46
46
|
|
|
47
47
|
/***/ }),
|
|
48
48
|
|
|
49
|
+
/***/ 2118:
|
|
50
|
+
/***/ (function(module) {
|
|
51
|
+
|
|
52
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
53
|
+
|
|
54
|
+
/***/ }),
|
|
55
|
+
|
|
49
56
|
/***/ 7080:
|
|
50
57
|
/***/ (function(module) {
|
|
51
58
|
|
|
@@ -190,10 +197,13 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
190
197
|
var gis_utils_ = __webpack_require__(7135);
|
|
191
198
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
192
199
|
var defineProperty = __webpack_require__(8270);
|
|
200
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
201
|
+
var es_array_push_js_ = __webpack_require__(2118);
|
|
193
202
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
194
203
|
var message = __webpack_require__(3694);
|
|
195
204
|
;// CONCATENATED MODULE: ./src/webgl/modelexcavate/ModelExcavateViewModel.js
|
|
196
205
|
|
|
206
|
+
|
|
197
207
|
//模型开挖逻辑类
|
|
198
208
|
|
|
199
209
|
class ModelExcavateViewModel {
|
|
@@ -1 +1,66 @@
|
|
|
1
|
-
.kq3d-model-excavate
|
|
1
|
+
.kq3d-model-excavate {
|
|
2
|
+
z-index: 999;
|
|
3
|
+
border-radius: var(--kq-border-radius-base);
|
|
4
|
+
padding: 16px;
|
|
5
|
+
pointer-events: auto;
|
|
6
|
+
cursor: default;
|
|
7
|
+
background-color: var(--kq-bg-color);
|
|
8
|
+
}
|
|
9
|
+
.kq3d-model-excavate .kq3d-model-excavate-box {
|
|
10
|
+
width: 350px;
|
|
11
|
+
}
|
|
12
|
+
.kq3d-model-excavate .kq-row {
|
|
13
|
+
margin-bottom: 8px;
|
|
14
|
+
}
|
|
15
|
+
.kq3d-model-excavate .kq-form-item {
|
|
16
|
+
margin-bottom: 8px;
|
|
17
|
+
}
|
|
18
|
+
.kq3d-model-excavate .kq3d-model-excavate-span {
|
|
19
|
+
color: var(--kq-text-color-regular);
|
|
20
|
+
line-height: 32px;
|
|
21
|
+
font-size: var(--kq-font-size-base);
|
|
22
|
+
}
|
|
23
|
+
.kq3d-model-excavate .kq3d-model-excavate-tip {
|
|
24
|
+
color: var(--kq-text-color-regular);
|
|
25
|
+
font-size: var(--kq-font-size-base);
|
|
26
|
+
}
|
|
27
|
+
.kq3d-model-excavate .kq3d-model-excavate-tip p {
|
|
28
|
+
margin: 0px;
|
|
29
|
+
display: -webkit-box;
|
|
30
|
+
display: -ms-flexbox;
|
|
31
|
+
display: flex;
|
|
32
|
+
-webkit-box-align: center;
|
|
33
|
+
-ms-flex-align: center;
|
|
34
|
+
align-items: center;
|
|
35
|
+
-webkit-font-feature-settings: "tnum" on, "lnum" on;
|
|
36
|
+
font-feature-settings: "tnum" on, "lnum" on;
|
|
37
|
+
font-family: "Noto Sans SC";
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-weight: 400;
|
|
40
|
+
}
|
|
41
|
+
.kq3d-model-excavate .kq-slider {
|
|
42
|
+
width: 100%;
|
|
43
|
+
}
|
|
44
|
+
.kq3d-model-excavate .kq-slider .kq-slider__button {
|
|
45
|
+
width: 14px;
|
|
46
|
+
height: 14px;
|
|
47
|
+
}
|
|
48
|
+
.kq3d-model-excavate .kq-input-number.is-controls-right {
|
|
49
|
+
width: 65px;
|
|
50
|
+
}
|
|
51
|
+
.kq3d-model-excavate .kq-input-number.is-controls-right .kq-input-number__increase,
|
|
52
|
+
.kq3d-model-excavate .kq-input-number.is-controls-right .kq-input-number__decrease {
|
|
53
|
+
width: 20px;
|
|
54
|
+
}
|
|
55
|
+
.kq3d-model-excavate .kq-input-number.is-controls-right .kq-input__wrapper {
|
|
56
|
+
padding-left: 0px;
|
|
57
|
+
padding-right: 20px;
|
|
58
|
+
}
|
|
59
|
+
.kq3d-model-excavate .kq-col-8 .kq-input-number .kq-input__wrapper {
|
|
60
|
+
padding-left: 0px;
|
|
61
|
+
padding-right: 20px;
|
|
62
|
+
}
|
|
63
|
+
.kq3d-model-excavate .kq3d-model-excavate-footer {
|
|
64
|
+
text-align: right;
|
|
65
|
+
padding: 8px 0px 0px;
|
|
66
|
+
}
|