@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.4-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 +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +159 -227
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +288 -470
- package/clientPrint/index.js +333 -897
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +181 -252
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +297 -401
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +243 -382
- package/geologicalbodyanalysis/index.js +203 -287
- package/gpuspatialquery/index.js +240 -390
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +426 -733
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +7913 -16839
- package/isolineanalysis/index.js +554 -1231
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +339 -493
- package/modelFlat/index.js +202 -223
- package/modelexcavate/index.js +194 -251
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +180 -173
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +237 -328
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +273 -571
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +818 -2179
- package/sceneset/index.js +391 -885
- package/scenetohdimage/index.js +212 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +9018 -17813
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +256 -436
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +200 -339
- package/slopeanalysis/index.js +270 -433
- package/slopeaspectanalysis/index.js +303 -523
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +218 -269
- package/terrainprofileanalysis/index.js +162 -171
- package/underground/index.js +96 -82
- package/videofusion/index.js +305 -519
- package/videoproject/index.js +311 -521
- package/viewshedanalysis/index.js +176 -275
- package/weathereffect/index.js +197 -343
- package/wireframesketch/index.js +133 -141
package/skylineanalysis/index.js
CHANGED
|
@@ -7,100 +7,134 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__455__, __WEBPACK_EXTERNAL_MODULE__2975__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 3275:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
|
-
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
18
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6363);
|
|
19
19
|
/* 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__(
|
|
20
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(455);
|
|
21
21
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
|
-
|
|
22
|
+
/*
|
|
23
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
+
* All rights reserved.
|
|
25
|
+
*/
|
|
23
26
|
|
|
24
27
|
|
|
25
28
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
26
29
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
27
30
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
28
31
|
};
|
|
29
|
-
|
|
30
|
-
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
32
|
+
/* harmony default export */ __webpack_exports__.A = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
33
|
|
|
32
34
|
/***/ }),
|
|
33
35
|
|
|
34
|
-
/***/
|
|
36
|
+
/***/ 5698:
|
|
35
37
|
/***/ (function(module) {
|
|
36
38
|
|
|
37
39
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
38
40
|
|
|
39
41
|
/***/ }),
|
|
40
42
|
|
|
41
|
-
/***/
|
|
43
|
+
/***/ 6363:
|
|
42
44
|
/***/ (function(module) {
|
|
43
45
|
|
|
44
46
|
module.exports = require("element-plus/dist/index.full.js");
|
|
45
47
|
|
|
46
48
|
/***/ }),
|
|
47
49
|
|
|
48
|
-
/***/
|
|
50
|
+
/***/ 3579:
|
|
49
51
|
/***/ (function(module) {
|
|
50
52
|
|
|
51
53
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
52
54
|
|
|
53
55
|
/***/ }),
|
|
54
56
|
|
|
55
|
-
/***/
|
|
57
|
+
/***/ 64:
|
|
56
58
|
/***/ (function(module) {
|
|
57
59
|
|
|
58
|
-
module.exports =
|
|
60
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
59
61
|
|
|
60
62
|
/***/ }),
|
|
61
63
|
|
|
62
|
-
/***/
|
|
64
|
+
/***/ 2975:
|
|
63
65
|
/***/ (function(module) {
|
|
64
66
|
|
|
65
|
-
module.exports =
|
|
67
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
66
68
|
|
|
67
69
|
/***/ }),
|
|
68
70
|
|
|
69
|
-
/***/
|
|
71
|
+
/***/ 455:
|
|
70
72
|
/***/ (function(module) {
|
|
71
73
|
|
|
72
|
-
module.exports =
|
|
74
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
73
75
|
|
|
74
76
|
/***/ }),
|
|
75
77
|
|
|
76
|
-
/***/
|
|
78
|
+
/***/ 154:
|
|
77
79
|
/***/ (function(module) {
|
|
78
80
|
|
|
79
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
80
82
|
|
|
81
83
|
/***/ }),
|
|
82
84
|
|
|
83
|
-
/***/
|
|
85
|
+
/***/ 6913:
|
|
84
86
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
85
87
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
function
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
88
|
+
|
|
89
|
+
// EXPORTS
|
|
90
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
91
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
95
|
+
function _typeof(o) {
|
|
96
|
+
"@babel/helpers - typeof";
|
|
97
|
+
|
|
98
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
99
|
+
return typeof o;
|
|
100
|
+
} : function (o) {
|
|
101
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
102
|
+
}, _typeof(o);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
106
|
+
|
|
107
|
+
function toPrimitive(t, r) {
|
|
108
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
109
|
+
var e = t[Symbol.toPrimitive];
|
|
110
|
+
if (void 0 !== e) {
|
|
111
|
+
var i = e.call(t, r || "default");
|
|
112
|
+
if ("object" != _typeof(i)) return i;
|
|
113
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
99
114
|
}
|
|
115
|
+
return ("string" === r ? String : Number)(t);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
function toPropertyKey(t) {
|
|
122
|
+
var i = toPrimitive(t, "string");
|
|
123
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
100
127
|
|
|
101
|
-
|
|
128
|
+
function _defineProperty(e, r, t) {
|
|
129
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
130
|
+
value: t,
|
|
131
|
+
enumerable: !0,
|
|
132
|
+
configurable: !0,
|
|
133
|
+
writable: !0
|
|
134
|
+
}) : e[r] = t, e;
|
|
102
135
|
}
|
|
103
136
|
|
|
137
|
+
|
|
104
138
|
/***/ })
|
|
105
139
|
|
|
106
140
|
/******/ });
|
|
@@ -172,62 +206,56 @@ function _defineProperty(obj, key, value) {
|
|
|
172
206
|
/******/
|
|
173
207
|
/************************************************************************/
|
|
174
208
|
var __webpack_exports__ = {};
|
|
175
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
176
|
-
!function() {
|
|
177
209
|
// ESM COMPAT FLAG
|
|
178
210
|
__webpack_require__.r(__webpack_exports__);
|
|
179
211
|
|
|
180
212
|
// EXPORTS
|
|
181
213
|
__webpack_require__.d(__webpack_exports__, {
|
|
182
|
-
|
|
214
|
+
SkylineAnalysisViewModel: function() { return /* reexport */ SkylineAnalysisViewModel; },
|
|
183
215
|
"default": function() { return /* reexport */ SkylineAnalysis; }
|
|
184
216
|
});
|
|
185
217
|
|
|
186
218
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
187
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
219
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
188
220
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
189
|
-
var gis_utils_ = __webpack_require__(
|
|
190
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
191
|
-
var defineProperty = __webpack_require__(
|
|
221
|
+
var gis_utils_ = __webpack_require__(64);
|
|
222
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
223
|
+
var defineProperty = __webpack_require__(6913);
|
|
192
224
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
193
|
-
var message = __webpack_require__(
|
|
225
|
+
var message = __webpack_require__(3275);
|
|
194
226
|
;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/SkylineAnalysisViewModel.js
|
|
195
227
|
|
|
228
|
+
/*
|
|
229
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
230
|
+
* All rights reserved.
|
|
231
|
+
*/
|
|
196
232
|
//天际线分析逻辑类
|
|
197
233
|
|
|
198
234
|
class SkylineAnalysisViewModel {
|
|
199
|
-
/**
|
|
200
|
-
* 天际线分析逻辑类
|
|
201
|
-
* @param {Object} _skylineAnalysis 天际线分析三维对象
|
|
202
|
-
* @param {Object} _skylineAnalysisChart 二维天际线折线图表(外部生成)
|
|
203
|
-
* @param {String} _skylineAnalysisChartTitle 二维天际线折线图表标题(中英文适配)
|
|
204
|
-
* @param {Object} _options 天际线分析存储参数对象
|
|
205
|
-
* @param {Object} _showLimitHeightBody 限高体是否显示
|
|
206
|
-
*/
|
|
207
|
-
|
|
208
235
|
/**
|
|
209
236
|
* 天际线分析逻辑类构造函数
|
|
210
237
|
* @param {*} viewer 三维对象
|
|
211
238
|
* @param {*} option 天际线分析参数对象
|
|
212
239
|
*/
|
|
213
240
|
constructor(viewer, option, chartStyle) {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
(0,defineProperty/* default */.
|
|
223
|
-
|
|
224
|
-
(0,defineProperty/* default */.
|
|
225
|
-
|
|
241
|
+
/**
|
|
242
|
+
* 天际线分析逻辑类
|
|
243
|
+
* @param {Object} _skylineAnalysis 天际线分析三维对象
|
|
244
|
+
* @param {Object} _skylineAnalysisChart 二维天际线折线图表(外部生成)
|
|
245
|
+
* @param {String} _skylineAnalysisChartTitle 二维天际线折线图表标题(中英文适配)
|
|
246
|
+
* @param {Object} _options 天际线分析存储参数对象
|
|
247
|
+
* @param {Object} _showLimitHeightBody 限高体是否显示
|
|
248
|
+
*/
|
|
249
|
+
(0,defineProperty/* default */.A)(this, "_skylineAnalysis", null);
|
|
250
|
+
(0,defineProperty/* default */.A)(this, "_skylineAnalysisChart", null);
|
|
251
|
+
(0,defineProperty/* default */.A)(this, "_skylineAnalysisChartTitle", "");
|
|
252
|
+
(0,defineProperty/* default */.A)(this, "_options", null);
|
|
253
|
+
(0,defineProperty/* default */.A)(this, "_showLimitHeightBody", null);
|
|
254
|
+
(0,defineProperty/* default */.A)(this, "_chartStyle", null);
|
|
226
255
|
this._chartStyle = chartStyle;
|
|
227
256
|
viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
257
|
+
viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
258
|
+
// 创建分析参数对象
|
|
231
259
|
this._options = {
|
|
232
260
|
viewer: viewer,
|
|
233
261
|
lineColor: window.Cesium.Color.fromCssColorString(option.skylineColor),
|
|
@@ -239,44 +267,36 @@ class SkylineAnalysisViewModel {
|
|
|
239
267
|
lineWidth: option.skylineWidth,
|
|
240
268
|
//天际线线宽
|
|
241
269
|
radius: option.skylineRadius //天际线分析范围
|
|
242
|
-
|
|
243
270
|
};
|
|
244
271
|
if (option.viewPosition) this._options.viewPosition = option.viewPosition;
|
|
245
272
|
if (option.heading) this._options.heading = option.heading;
|
|
246
273
|
if (option.pitch) this._options.pitch = option.pitch;
|
|
247
274
|
if (option.roll) this._options.viewPosition = option.roll;
|
|
248
|
-
if (option.fov) this._options.fov = option.fov;
|
|
249
|
-
|
|
275
|
+
if (option.fov) this._options.fov = option.fov;
|
|
276
|
+
// 实例化天际线分析类
|
|
250
277
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
251
278
|
}
|
|
252
279
|
/**
|
|
253
280
|
* 提取天际线
|
|
254
281
|
*/
|
|
255
|
-
|
|
256
|
-
|
|
257
282
|
pickSkyLine() {
|
|
258
283
|
// 判断是否添加了模型
|
|
259
284
|
var flag = false;
|
|
260
285
|
var models = this._options.viewer.scene.primitives._primitives;
|
|
261
|
-
|
|
262
286
|
for (let i = 0; i < models.length; i++) {
|
|
263
287
|
if (models[i]._url) {
|
|
264
288
|
flag = true;
|
|
265
289
|
}
|
|
266
290
|
}
|
|
267
|
-
|
|
268
291
|
if (flag) {
|
|
269
292
|
if (!this._skylineAnalysis || this._skylineAnalysis.isDestroyed()) {
|
|
270
293
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
271
294
|
}
|
|
272
|
-
|
|
273
295
|
this._skylineAnalysis.updateBuffer();
|
|
274
|
-
|
|
275
296
|
this._skylineAnalysis.pickSkyLine();
|
|
276
|
-
|
|
277
297
|
this.setSkyline2D();
|
|
278
298
|
} else {
|
|
279
|
-
(0,message/* default */.
|
|
299
|
+
(0,message/* default */.A)({
|
|
280
300
|
message: "请添加模型后提取!",
|
|
281
301
|
type: "warning"
|
|
282
302
|
});
|
|
@@ -285,33 +305,26 @@ class SkylineAnalysisViewModel {
|
|
|
285
305
|
/**
|
|
286
306
|
* 绘制限高体
|
|
287
307
|
*/
|
|
288
|
-
|
|
289
|
-
|
|
290
308
|
drawLimitHeightBody() {
|
|
291
309
|
// 判断是否添加了模型
|
|
292
310
|
var flag = false;
|
|
293
311
|
var models = this._options.viewer.scene.primitives._primitives;
|
|
294
|
-
|
|
295
312
|
for (let i = 0; i < models.length; i++) {
|
|
296
313
|
if (models[i]._url) {
|
|
297
314
|
flag = true;
|
|
298
315
|
}
|
|
299
316
|
}
|
|
300
|
-
|
|
301
317
|
if (flag) {
|
|
302
318
|
if (!this._skylineAnalysis || this._skylineAnalysis.isDestroyed()) {
|
|
303
319
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
304
320
|
}
|
|
305
|
-
|
|
306
321
|
this._showLimitHeightBody = true;
|
|
307
322
|
this._skylineAnalysis.faceColor = this._options.faceColor;
|
|
308
323
|
this._skylineAnalysis.faceOutlineColor = this._options.faceOutlineColor;
|
|
309
|
-
|
|
310
324
|
this._skylineAnalysis.drawHeightGeo();
|
|
311
|
-
|
|
312
325
|
this._skylineAnalysis.viewer.camera.moveBackward(1);
|
|
313
326
|
} else {
|
|
314
|
-
(0,message/* default */.
|
|
327
|
+
(0,message/* default */.A)({
|
|
315
328
|
message: "请添加模型后提取!",
|
|
316
329
|
type: "warning"
|
|
317
330
|
});
|
|
@@ -320,14 +333,10 @@ class SkylineAnalysisViewModel {
|
|
|
320
333
|
/**
|
|
321
334
|
* 展示二维天际线
|
|
322
335
|
*/
|
|
323
|
-
|
|
324
|
-
|
|
325
336
|
setSkyline2D() {
|
|
326
337
|
let chartStyle = this._chartStyle;
|
|
327
338
|
if (!this._skylineAnalysis) return;
|
|
328
|
-
|
|
329
339
|
var data = this._skylineAnalysis.updateBuffer();
|
|
330
|
-
|
|
331
340
|
var option = {
|
|
332
341
|
title: {
|
|
333
342
|
text: this._skylineAnalysisChartTitle,
|
|
@@ -373,51 +382,39 @@ class SkylineAnalysisViewModel {
|
|
|
373
382
|
};
|
|
374
383
|
this._skylineAnalysisChart && this._skylineAnalysisChart.setOption(option);
|
|
375
384
|
}
|
|
385
|
+
|
|
376
386
|
/**
|
|
377
387
|
* 设置echarts图表样式
|
|
378
388
|
*/
|
|
379
|
-
|
|
380
|
-
|
|
381
389
|
setChartStyle(style) {
|
|
382
390
|
this._chartStyle = style;
|
|
383
|
-
|
|
384
391
|
if (this._skylineAnalysisChart) {
|
|
385
392
|
let option = this._skylineAnalysisChart.getOption();
|
|
386
|
-
|
|
387
393
|
option.title[0].textStyle.color = style.textColor;
|
|
388
394
|
option.tooltip[0].backgroundColor = style.backgroundColor;
|
|
389
395
|
option.tooltip[0].textStyle.color = style.textColor;
|
|
390
396
|
option.yAxis[0].axisLabel.color = style.textColor;
|
|
391
|
-
|
|
392
397
|
this._skylineAnalysisChart.setOption(option);
|
|
393
398
|
}
|
|
394
399
|
}
|
|
395
|
-
|
|
396
400
|
setChartTitle(title) {
|
|
397
401
|
this._skylineAnalysisChartTitle = title;
|
|
398
|
-
|
|
399
402
|
if (this._skylineAnalysisChart) {
|
|
400
403
|
let option = this._skylineAnalysisChart.getOption();
|
|
401
|
-
|
|
402
404
|
option.title[0].text = title;
|
|
403
|
-
|
|
404
405
|
this._skylineAnalysisChart.setOption(option);
|
|
405
406
|
}
|
|
406
407
|
}
|
|
408
|
+
|
|
407
409
|
/**
|
|
408
410
|
* 清除限高体
|
|
409
411
|
*/
|
|
410
|
-
|
|
411
|
-
|
|
412
412
|
removeLimitHeightBody() {
|
|
413
413
|
this._showLimitHeightBody = false;
|
|
414
|
-
|
|
415
414
|
if (this._skylineAnalysis && !this._skylineAnalysis.isDestroyed()) {
|
|
416
415
|
this._skylineAnalysis.removeAlllimitHeights();
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
416
|
+
this._skylineAnalysis.removeAllFaces();
|
|
417
|
+
// this._skylineAnalysis.removeGeoJsonDataSource();
|
|
421
418
|
this._skylineAnalysis.removeCzmlJsonDataSource();
|
|
422
419
|
}
|
|
423
420
|
}
|
|
@@ -425,8 +422,6 @@ class SkylineAnalysisViewModel {
|
|
|
425
422
|
* 设置天际线颜色
|
|
426
423
|
* @param {String} lineColor 天际线颜色
|
|
427
424
|
*/
|
|
428
|
-
|
|
429
|
-
|
|
430
425
|
setLineColor(lineColor) {
|
|
431
426
|
if (!lineColor) return;
|
|
432
427
|
this._options.lineColor = window.Cesium.Color.fromCssColorString(lineColor);
|
|
@@ -437,8 +432,6 @@ class SkylineAnalysisViewModel {
|
|
|
437
432
|
* @param {String} faceColor 限高体轮廓颜色
|
|
438
433
|
* @param {String} alpha 限高体轮廓颜色透明度
|
|
439
434
|
*/
|
|
440
|
-
|
|
441
|
-
|
|
442
435
|
setFaceColor(faceColor, alpha) {
|
|
443
436
|
if (!faceColor) return;
|
|
444
437
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
@@ -448,8 +441,6 @@ class SkylineAnalysisViewModel {
|
|
|
448
441
|
* 设置天际线半径
|
|
449
442
|
* @param {String} radius 天际线半径
|
|
450
443
|
*/
|
|
451
|
-
|
|
452
|
-
|
|
453
444
|
setRadius(radius) {
|
|
454
445
|
if (!radius) return;
|
|
455
446
|
this._options.radius = radius;
|
|
@@ -460,8 +451,6 @@ class SkylineAnalysisViewModel {
|
|
|
460
451
|
* @param {String} faceColor 限高体轮廓颜色
|
|
461
452
|
* @param {String} alpha 限高体轮廓颜色透明度
|
|
462
453
|
*/
|
|
463
|
-
|
|
464
|
-
|
|
465
454
|
setFaceColorAlpha(faceColor, alpha) {
|
|
466
455
|
if (!faceColor) return;
|
|
467
456
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
@@ -472,52 +461,41 @@ class SkylineAnalysisViewModel {
|
|
|
472
461
|
* @param {String} faceOutlineColor 限高体轮廓颜色
|
|
473
462
|
* @param {String} alpha 限高体轮廓颜色透明度
|
|
474
463
|
*/
|
|
475
|
-
|
|
476
|
-
|
|
477
464
|
setFaceOutlineColor(faceOutlineColor, alpha) {
|
|
478
465
|
if (!faceOutlineColor) return;
|
|
479
466
|
this._options.faceOutlineColor = window.Cesium.Color.fromCssColorString(faceOutlineColor).withAlpha(alpha || 1);
|
|
480
|
-
|
|
481
467
|
if (this._skylineAnalysis && this._showLimitHeightBody) {
|
|
482
468
|
this._skylineAnalysis.faceOutlineColor = this._options.faceOutlineColor;
|
|
483
469
|
}
|
|
484
470
|
}
|
|
471
|
+
|
|
485
472
|
/*
|
|
486
473
|
* 清除
|
|
487
474
|
*/
|
|
488
|
-
|
|
489
|
-
|
|
490
475
|
clear() {
|
|
491
476
|
this._showLimitHeightBody = false;
|
|
492
|
-
|
|
493
477
|
if (this._skylineAnalysis) {
|
|
494
478
|
this._skylineAnalysis.destroy();
|
|
495
|
-
|
|
496
479
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
497
480
|
}
|
|
498
481
|
}
|
|
499
482
|
/**
|
|
500
483
|
* 销毁
|
|
501
484
|
*/
|
|
502
|
-
|
|
503
|
-
|
|
504
485
|
destroy() {
|
|
505
486
|
this._showLimitHeightBody = false;
|
|
506
|
-
|
|
507
487
|
if (this._skylineAnalysis) {
|
|
508
488
|
this._skylineAnalysis.destroy();
|
|
509
|
-
|
|
510
489
|
this._skylineAnalysis = null;
|
|
511
490
|
}
|
|
512
491
|
}
|
|
513
|
-
|
|
514
492
|
}
|
|
515
493
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
516
|
-
var client_icons_vue_ = __webpack_require__(
|
|
494
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
517
495
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
518
|
-
var util_ = __webpack_require__(
|
|
496
|
+
var util_ = __webpack_require__(2975);
|
|
519
497
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
520
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
498
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
521
499
|
;// CONCATENATED MODULE: external "echarts"
|
|
522
500
|
var external_echarts_namespaceObject = require("echarts");
|
|
523
501
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/skylineanalysis/SkylineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
@@ -542,12 +520,14 @@ const _hoisted_4 = {
|
|
|
542
520
|
|
|
543
521
|
|
|
544
522
|
|
|
545
|
-
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
// 语言
|
|
546
526
|
|
|
547
527
|
const __default__ = {
|
|
548
528
|
name: "Kq3dSkylineAnalysis"
|
|
549
529
|
};
|
|
550
|
-
/* harmony default export */ var SkylineAnalysisvue_type_script_setup_true_lang_js = (
|
|
530
|
+
/* harmony default export */ var SkylineAnalysisvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
551
531
|
props: {
|
|
552
532
|
// 设置参数
|
|
553
533
|
settingParams: {
|
|
@@ -558,7 +538,6 @@ const __default__ = {
|
|
|
558
538
|
type: Boolean,
|
|
559
539
|
default: true
|
|
560
540
|
},
|
|
561
|
-
|
|
562
541
|
/**
|
|
563
542
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
564
543
|
*/
|
|
@@ -588,19 +567,18 @@ const __default__ = {
|
|
|
588
567
|
default: true
|
|
589
568
|
}
|
|
590
569
|
},
|
|
591
|
-
|
|
592
570
|
setup(__props, {
|
|
593
571
|
expose: __expose
|
|
594
572
|
}) {
|
|
573
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
574
|
+
// 设置
|
|
575
|
+
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
576
|
+
// 分析类
|
|
577
|
+
let viewModel = null;
|
|
578
|
+
// chart显示
|
|
579
|
+
let resultEcahrtVis = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
580
|
+
// 获取组件传参
|
|
595
581
|
const props = __props;
|
|
596
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({}); // 设置
|
|
597
|
-
|
|
598
|
-
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); // 分析类
|
|
599
|
-
|
|
600
|
-
let viewModel = null; // chart显示
|
|
601
|
-
|
|
602
|
-
let resultEcahrtVis = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 获取组件传参
|
|
603
|
-
|
|
604
582
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
605
583
|
skylineColor: props.settingParams && props.settingParams.skylineColor || "#E6A23C",
|
|
606
584
|
// 天际线颜色
|
|
@@ -619,14 +597,16 @@ const __default__ = {
|
|
|
619
597
|
maxLimitHeightBodyAlpha: props.settingParams && props.settingParams.maxLimitHeightBodyAlpha || 1,
|
|
620
598
|
// 限高体透明度范围最大值
|
|
621
599
|
skylineWidth: 2 // 天际线宽度
|
|
600
|
+
});
|
|
622
601
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
602
|
+
// 组件容器Ref
|
|
603
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
626
604
|
|
|
605
|
+
// 生成组件默认header
|
|
627
606
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
628
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
607
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
629
608
|
|
|
609
|
+
// 国际化
|
|
630
610
|
let {
|
|
631
611
|
locale,
|
|
632
612
|
messages
|
|
@@ -658,8 +638,9 @@ const __default__ = {
|
|
|
658
638
|
viewModel._skylineAnalysisChartTitle = scenceView._language["skylineAnalysisChartTitle"];
|
|
659
639
|
}
|
|
660
640
|
});
|
|
661
|
-
});
|
|
641
|
+
});
|
|
662
642
|
|
|
643
|
+
// 监听主题变化,重置Echarts
|
|
663
644
|
const observer = new MutationObserver(mutationsList => {
|
|
664
645
|
for (let mutation of mutationsList) {
|
|
665
646
|
if (mutation.type === "attributes" && mutation.attributeName === "class") {
|
|
@@ -667,18 +648,17 @@ const __default__ = {
|
|
|
667
648
|
viewModel.setChartStyle(style);
|
|
668
649
|
}
|
|
669
650
|
}
|
|
670
|
-
});
|
|
651
|
+
});
|
|
671
652
|
|
|
653
|
+
// 配置要观察的目标节点及其属性
|
|
672
654
|
const targetNode = document.querySelector("html");
|
|
673
655
|
const config = {
|
|
674
656
|
attributes: true
|
|
675
657
|
};
|
|
676
658
|
observer.observe(targetNode, config);
|
|
677
|
-
|
|
678
659
|
const setEchartsColor = () => {
|
|
679
660
|
let style = {};
|
|
680
661
|
let themeStyle = window.getComputedStyle(document.documentElement).getPropertyValue("color-scheme");
|
|
681
|
-
|
|
682
662
|
if (themeStyle === "dark") {
|
|
683
663
|
style.textColor = "#fff";
|
|
684
664
|
style.backgroundColor = "#2A2A2A";
|
|
@@ -686,72 +666,62 @@ const __default__ = {
|
|
|
686
666
|
style.textColor = "#333";
|
|
687
667
|
style.backgroundColor = "#ffffff";
|
|
688
668
|
}
|
|
689
|
-
|
|
690
669
|
return style;
|
|
691
670
|
};
|
|
671
|
+
|
|
692
672
|
/**
|
|
693
673
|
* @description 监听header生成
|
|
694
674
|
*/
|
|
695
|
-
|
|
696
|
-
|
|
697
675
|
const watchCreateHeaderTemp = () => {
|
|
698
676
|
if (props.showHeaderTemp) {
|
|
699
677
|
// 生成headerTemp
|
|
700
678
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
701
679
|
}
|
|
702
|
-
};
|
|
703
|
-
|
|
680
|
+
};
|
|
704
681
|
|
|
682
|
+
// 提取天际线
|
|
705
683
|
function pickSkyLine() {
|
|
706
684
|
resultEcahrtVis.value = true;
|
|
707
685
|
setTimeout(() => {
|
|
708
686
|
viewModel._skylineAnalysisChart = external_echarts_namespaceObject.init(document.getElementById("resultEcahrt"));
|
|
709
687
|
viewModel && viewModel.pickSkyLine();
|
|
710
688
|
}, 500);
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
|
|
689
|
+
}
|
|
690
|
+
// 绘制限高体
|
|
714
691
|
function drawLimitHeightBody() {
|
|
715
692
|
viewModel && viewModel.drawLimitHeightBody();
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
|
|
693
|
+
}
|
|
694
|
+
// 清除限高体
|
|
719
695
|
function removeLimitHeightBody() {
|
|
720
696
|
viewModel && viewModel.removeLimitHeightBody();
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
|
|
697
|
+
}
|
|
698
|
+
//清除结果
|
|
724
699
|
function clearResult() {
|
|
725
700
|
resultEcahrtVis.value = false;
|
|
726
701
|
viewModel && viewModel.clear();
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
|
|
702
|
+
}
|
|
703
|
+
// 改变天际线颜色
|
|
730
704
|
function onChangeSkylineColor() {
|
|
731
705
|
viewModel && viewModel.setLineColor(formItem.skylineColor);
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
|
|
706
|
+
}
|
|
707
|
+
// 改变限高体颜色
|
|
735
708
|
function onChangeLimitHeightBodyColor() {
|
|
736
709
|
viewModel && viewModel.setFaceColor(formItem.limitHeightBodyColor, formItem.limitHeightBodyAlpha);
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
|
|
710
|
+
}
|
|
711
|
+
// 改变天际线半径
|
|
740
712
|
function onChangeSkylineRadius() {
|
|
741
713
|
viewModel && viewModel.setRadius(formItem.skylineRadius);
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
|
|
714
|
+
}
|
|
715
|
+
// 限高体轮廓透明度
|
|
745
716
|
function onChangeLimitHeightBodyAlpha() {
|
|
746
717
|
viewModel && viewModel.setFaceColorAlpha(formItem.limitHeightBodyColor, formItem.limitHeightBodyAlpha);
|
|
747
|
-
}
|
|
748
|
-
|
|
718
|
+
}
|
|
749
719
|
|
|
720
|
+
// 销毁
|
|
750
721
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
751
722
|
resultEcahrtVis.value = false;
|
|
752
723
|
viewModel && viewModel.destroy();
|
|
753
724
|
});
|
|
754
|
-
|
|
755
725
|
__expose({
|
|
756
726
|
pickSkyLine,
|
|
757
727
|
drawLimitHeightBody,
|
|
@@ -762,28 +732,17 @@ const __default__ = {
|
|
|
762
732
|
onChangeLimitHeightBodyAlpha,
|
|
763
733
|
clearResult
|
|
764
734
|
});
|
|
765
|
-
|
|
766
735
|
return (_ctx, _cache) => {
|
|
767
736
|
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
768
|
-
|
|
769
737
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
770
|
-
|
|
771
738
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
772
|
-
|
|
773
739
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
774
|
-
|
|
775
740
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
776
|
-
|
|
777
741
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
778
|
-
|
|
779
742
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
780
|
-
|
|
781
743
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
782
|
-
|
|
783
744
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
784
|
-
|
|
785
745
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
786
|
-
|
|
787
746
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
788
747
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-skyline-analysis", {
|
|
789
748
|
'kq-box-shadow': __props.showShadow
|
|
@@ -794,9 +753,7 @@ const __default__ = {
|
|
|
794
753
|
key: 0,
|
|
795
754
|
ref_key: "headerTempRef",
|
|
796
755
|
ref: headerTempRef
|
|
797
|
-
}, null, 512
|
|
798
|
-
/* NEED_PATCH */
|
|
799
|
-
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
756
|
+
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
800
757
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue),
|
|
801
758
|
class: "kq3d-skyline-analysis-collapse"
|
|
802
759
|
}, {
|
|
@@ -816,18 +773,10 @@ const __default__ = {
|
|
|
816
773
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).skylineColor,
|
|
817
774
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).skylineColor = $event),
|
|
818
775
|
onChange: onChangeSkylineColor
|
|
819
|
-
}, null, 8
|
|
820
|
-
/*
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
/* STABLE */
|
|
824
|
-
|
|
825
|
-
}, 8
|
|
826
|
-
/* PROPS */
|
|
827
|
-
, ["label"])]),
|
|
828
|
-
_: 1
|
|
829
|
-
/* STABLE */
|
|
830
|
-
|
|
776
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
777
|
+
_: 1 /* STABLE */
|
|
778
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
779
|
+
_: 1 /* STABLE */
|
|
831
780
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
832
781
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
833
782
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).skylineRadius
|
|
@@ -847,12 +796,8 @@ const __default__ = {
|
|
|
847
796
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSkylineRadius,
|
|
848
797
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSkylineRadius,
|
|
849
798
|
onInput: onChangeSkylineRadius
|
|
850
|
-
}, null, 8
|
|
851
|
-
/*
|
|
852
|
-
, ["modelValue", "min", "max"])]),
|
|
853
|
-
_: 1
|
|
854
|
-
/* STABLE */
|
|
855
|
-
|
|
799
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
800
|
+
_: 1 /* STABLE */
|
|
856
801
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
857
802
|
span: 8
|
|
858
803
|
}, {
|
|
@@ -863,26 +808,14 @@ const __default__ = {
|
|
|
863
808
|
step: 100,
|
|
864
809
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSkylineRadius,
|
|
865
810
|
"controls-position": "right"
|
|
866
|
-
}, null, 8
|
|
867
|
-
/*
|
|
868
|
-
, ["modelValue", "min", "max"])]),
|
|
869
|
-
_: 1
|
|
870
|
-
/* STABLE */
|
|
871
|
-
|
|
811
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
812
|
+
_: 1 /* STABLE */
|
|
872
813
|
})]),
|
|
873
|
-
_: 1
|
|
874
|
-
/* STABLE */
|
|
875
|
-
|
|
814
|
+
_: 1 /* STABLE */
|
|
876
815
|
})]),
|
|
877
|
-
_: 1
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
}, 8
|
|
881
|
-
/* PROPS */
|
|
882
|
-
, ["label"])]),
|
|
883
|
-
_: 1
|
|
884
|
-
/* STABLE */
|
|
885
|
-
|
|
816
|
+
_: 1 /* STABLE */
|
|
817
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
818
|
+
_: 1 /* STABLE */
|
|
886
819
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
887
820
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
888
821
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).limitHeightBodyColor
|
|
@@ -891,18 +824,10 @@ const __default__ = {
|
|
|
891
824
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).limitHeightBodyColor,
|
|
892
825
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).limitHeightBodyColor = $event),
|
|
893
826
|
onChange: onChangeLimitHeightBodyColor
|
|
894
|
-
}, null, 8
|
|
895
|
-
/*
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
/* STABLE */
|
|
899
|
-
|
|
900
|
-
}, 8
|
|
901
|
-
/* PROPS */
|
|
902
|
-
, ["label"])]),
|
|
903
|
-
_: 1
|
|
904
|
-
/* STABLE */
|
|
905
|
-
|
|
827
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
828
|
+
_: 1 /* STABLE */
|
|
829
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
830
|
+
_: 1 /* STABLE */
|
|
906
831
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
907
832
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
908
833
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).limitHeightBodyAlpha
|
|
@@ -922,12 +847,8 @@ const __default__ = {
|
|
|
922
847
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minLimitHeightBodyAlpha,
|
|
923
848
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLimitHeightBodyAlpha,
|
|
924
849
|
onInput: onChangeLimitHeightBodyAlpha
|
|
925
|
-
}, null, 8
|
|
926
|
-
/*
|
|
927
|
-
, ["modelValue", "step", "min", "max"])]),
|
|
928
|
-
_: 1
|
|
929
|
-
/* STABLE */
|
|
930
|
-
|
|
850
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
851
|
+
_: 1 /* STABLE */
|
|
931
852
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
932
853
|
span: 8
|
|
933
854
|
}, {
|
|
@@ -938,43 +859,21 @@ const __default__ = {
|
|
|
938
859
|
step: 0.1,
|
|
939
860
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLimitHeightBodyAlpha,
|
|
940
861
|
"controls-position": "right"
|
|
941
|
-
}, null, 8
|
|
942
|
-
/*
|
|
943
|
-
, ["modelValue", "min", "step", "max"])]),
|
|
944
|
-
_: 1
|
|
945
|
-
/* STABLE */
|
|
946
|
-
|
|
862
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
863
|
+
_: 1 /* STABLE */
|
|
947
864
|
})]),
|
|
948
|
-
_: 1
|
|
949
|
-
/* STABLE */
|
|
950
|
-
|
|
865
|
+
_: 1 /* STABLE */
|
|
951
866
|
})]),
|
|
952
|
-
_: 1
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
}, 8
|
|
956
|
-
/* PROPS */
|
|
957
|
-
, ["label"])]),
|
|
958
|
-
_: 1
|
|
959
|
-
/* STABLE */
|
|
960
|
-
|
|
867
|
+
_: 1 /* STABLE */
|
|
868
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
869
|
+
_: 1 /* STABLE */
|
|
961
870
|
})]),
|
|
962
|
-
_: 1
|
|
963
|
-
/* STABLE */
|
|
964
|
-
|
|
871
|
+
_: 1 /* STABLE */
|
|
965
872
|
})]),
|
|
966
|
-
_: 1
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
/* PROPS */
|
|
971
|
-
, ["title"])]),
|
|
972
|
-
_: 1
|
|
973
|
-
/* STABLE */
|
|
974
|
-
|
|
975
|
-
}, 8
|
|
976
|
-
/* PROPS */
|
|
977
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
873
|
+
_: 1 /* STABLE */
|
|
874
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
875
|
+
_: 1 /* STABLE */
|
|
876
|
+
}, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
978
877
|
gutter: 20,
|
|
979
878
|
class: "btnClass"
|
|
980
879
|
}, {
|
|
@@ -986,18 +885,10 @@ const __default__ = {
|
|
|
986
885
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pickSkyLine,
|
|
987
886
|
type: "primary"
|
|
988
887
|
}, {
|
|
989
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pickSkyLine), 1
|
|
990
|
-
/*
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
/* STABLE */
|
|
994
|
-
|
|
995
|
-
}, 8
|
|
996
|
-
/* PROPS */
|
|
997
|
-
, ["title"])]),
|
|
998
|
-
_: 1
|
|
999
|
-
/* STABLE */
|
|
1000
|
-
|
|
888
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pickSkyLine), 1 /* TEXT */)]),
|
|
889
|
+
_: 1 /* STABLE */
|
|
890
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
891
|
+
_: 1 /* STABLE */
|
|
1001
892
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1002
893
|
span: 12
|
|
1003
894
|
}, {
|
|
@@ -1006,22 +897,12 @@ const __default__ = {
|
|
|
1006
897
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).drawLimitHeightBody,
|
|
1007
898
|
type: "primary"
|
|
1008
899
|
}, {
|
|
1009
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).drawLimitHeightBody), 1
|
|
1010
|
-
/*
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
/* STABLE */
|
|
1014
|
-
|
|
1015
|
-
}, 8
|
|
1016
|
-
/* PROPS */
|
|
1017
|
-
, ["title"])]),
|
|
1018
|
-
_: 1
|
|
1019
|
-
/* STABLE */
|
|
1020
|
-
|
|
900
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).drawLimitHeightBody), 1 /* TEXT */)]),
|
|
901
|
+
_: 1 /* STABLE */
|
|
902
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
903
|
+
_: 1 /* STABLE */
|
|
1021
904
|
})]),
|
|
1022
|
-
_: 1
|
|
1023
|
-
/* STABLE */
|
|
1024
|
-
|
|
905
|
+
_: 1 /* STABLE */
|
|
1025
906
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1026
907
|
gutter: 20
|
|
1027
908
|
}, {
|
|
@@ -1032,18 +913,10 @@ const __default__ = {
|
|
|
1032
913
|
onClick: _cache[8] || (_cache[8] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => removeLimitHeightBody(), ["stop"])),
|
|
1033
914
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).removeLimitHeightBody
|
|
1034
915
|
}, {
|
|
1035
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).removeLimitHeightBody), 1
|
|
1036
|
-
/*
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
/* STABLE */
|
|
1040
|
-
|
|
1041
|
-
}, 8
|
|
1042
|
-
/* PROPS */
|
|
1043
|
-
, ["title"])]),
|
|
1044
|
-
_: 1
|
|
1045
|
-
/* STABLE */
|
|
1046
|
-
|
|
916
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).removeLimitHeightBody), 1 /* TEXT */)]),
|
|
917
|
+
_: 1 /* STABLE */
|
|
918
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
919
|
+
_: 1 /* STABLE */
|
|
1047
920
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1048
921
|
span: 12
|
|
1049
922
|
}, {
|
|
@@ -1051,28 +924,15 @@ const __default__ = {
|
|
|
1051
924
|
onClick: _cache[9] || (_cache[9] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
1052
925
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
1053
926
|
}, {
|
|
1054
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult), 1
|
|
1055
|
-
/*
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
/* STABLE */
|
|
1059
|
-
|
|
1060
|
-
}, 8
|
|
1061
|
-
/* PROPS */
|
|
1062
|
-
, ["title"])]),
|
|
1063
|
-
_: 1
|
|
1064
|
-
/* STABLE */
|
|
1065
|
-
|
|
927
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult), 1 /* TEXT */)]),
|
|
928
|
+
_: 1 /* STABLE */
|
|
929
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
930
|
+
_: 1 /* STABLE */
|
|
1066
931
|
})]),
|
|
1067
|
-
_: 1
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(resultEcahrtVis) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_4)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)])])], 2
|
|
1071
|
-
/* CLASS */
|
|
1072
|
-
);
|
|
932
|
+
_: 1 /* STABLE */
|
|
933
|
+
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(resultEcahrtVis) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_4)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)])])], 2 /* CLASS */);
|
|
1073
934
|
};
|
|
1074
935
|
}
|
|
1075
|
-
|
|
1076
936
|
}));
|
|
1077
937
|
;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/SkylineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
1078
938
|
|
|
@@ -1084,10 +944,13 @@ const __exports__ = SkylineAnalysisvue_type_script_setup_true_lang_js;
|
|
|
1084
944
|
|
|
1085
945
|
/* harmony default export */ var SkylineAnalysis = (__exports__);
|
|
1086
946
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1087
|
-
var init_js_ = __webpack_require__(
|
|
947
|
+
var init_js_ = __webpack_require__(455);
|
|
1088
948
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
1089
949
|
;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/index.js
|
|
1090
|
-
|
|
950
|
+
/*
|
|
951
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
952
|
+
* All rights reserved.
|
|
953
|
+
*/
|
|
1091
954
|
|
|
1092
955
|
|
|
1093
956
|
|
|
@@ -1096,8 +959,6 @@ SkylineAnalysis.install = (Vue, opts) => {
|
|
|
1096
959
|
Vue.component(SkylineAnalysis.name, SkylineAnalysis);
|
|
1097
960
|
};
|
|
1098
961
|
|
|
1099
|
-
|
|
1100
|
-
}();
|
|
1101
962
|
/******/ return __webpack_exports__;
|
|
1102
963
|
/******/ })()
|
|
1103
964
|
;
|