@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.5-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 +163 -229
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +291 -472
- package/clientPrint/index.js +368 -906
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +185 -255
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +298 -402
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +248 -385
- package/geologicalbodyanalysis/index.js +206 -288
- package/gpuspatialquery/index.js +243 -392
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +427 -734
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +8170 -17000
- package/isolineanalysis/index.js +557 -1233
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +341 -495
- package/modelFlat/index.js +261 -259
- package/modelexcavate/index.js +214 -266
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +183 -175
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +240 -330
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +274 -572
- package/sceneadvancedtoimage/index.js +1057 -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 +9208 -17907
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +259 -437
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +204 -341
- package/slopeanalysis/index.js +274 -435
- package/slopeaspectanalysis/index.js +307 -524
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +222 -271
- package/terrainprofileanalysis/index.js +166 -173
- 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,58 @@ 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);
|
|
255
|
+
(0,defineProperty/* default */.A)(this, "_language", {});
|
|
256
|
+
this._language = scenceView._language;
|
|
226
257
|
this._chartStyle = chartStyle;
|
|
227
258
|
viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
259
|
+
viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
260
|
+
// 创建分析参数对象
|
|
231
261
|
this._options = {
|
|
232
262
|
viewer: viewer,
|
|
233
263
|
lineColor: window.Cesium.Color.fromCssColorString(option.skylineColor),
|
|
@@ -239,45 +269,37 @@ class SkylineAnalysisViewModel {
|
|
|
239
269
|
lineWidth: option.skylineWidth,
|
|
240
270
|
//天际线线宽
|
|
241
271
|
radius: option.skylineRadius //天际线分析范围
|
|
242
|
-
|
|
243
272
|
};
|
|
244
273
|
if (option.viewPosition) this._options.viewPosition = option.viewPosition;
|
|
245
274
|
if (option.heading) this._options.heading = option.heading;
|
|
246
275
|
if (option.pitch) this._options.pitch = option.pitch;
|
|
247
276
|
if (option.roll) this._options.viewPosition = option.roll;
|
|
248
|
-
if (option.fov) this._options.fov = option.fov;
|
|
249
|
-
|
|
277
|
+
if (option.fov) this._options.fov = option.fov;
|
|
278
|
+
// 实例化天际线分析类
|
|
250
279
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
251
280
|
}
|
|
252
281
|
/**
|
|
253
282
|
* 提取天际线
|
|
254
283
|
*/
|
|
255
|
-
|
|
256
|
-
|
|
257
284
|
pickSkyLine() {
|
|
258
285
|
// 判断是否添加了模型
|
|
259
286
|
var flag = false;
|
|
260
287
|
var models = this._options.viewer.scene.primitives._primitives;
|
|
261
|
-
|
|
262
288
|
for (let i = 0; i < models.length; i++) {
|
|
263
289
|
if (models[i]._url) {
|
|
264
290
|
flag = true;
|
|
265
291
|
}
|
|
266
292
|
}
|
|
267
|
-
|
|
268
293
|
if (flag) {
|
|
269
294
|
if (!this._skylineAnalysis || this._skylineAnalysis.isDestroyed()) {
|
|
270
295
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
271
296
|
}
|
|
272
|
-
|
|
273
297
|
this._skylineAnalysis.updateBuffer();
|
|
274
|
-
|
|
275
298
|
this._skylineAnalysis.pickSkyLine();
|
|
276
|
-
|
|
277
299
|
this.setSkyline2D();
|
|
278
300
|
} else {
|
|
279
|
-
(0,message/* default */.
|
|
280
|
-
message: "
|
|
301
|
+
(0,message/* default */.A)({
|
|
302
|
+
message: this._language["addModelExtractionTips"],
|
|
281
303
|
type: "warning"
|
|
282
304
|
});
|
|
283
305
|
}
|
|
@@ -285,34 +307,27 @@ class SkylineAnalysisViewModel {
|
|
|
285
307
|
/**
|
|
286
308
|
* 绘制限高体
|
|
287
309
|
*/
|
|
288
|
-
|
|
289
|
-
|
|
290
310
|
drawLimitHeightBody() {
|
|
291
311
|
// 判断是否添加了模型
|
|
292
312
|
var flag = false;
|
|
293
313
|
var models = this._options.viewer.scene.primitives._primitives;
|
|
294
|
-
|
|
295
314
|
for (let i = 0; i < models.length; i++) {
|
|
296
315
|
if (models[i]._url) {
|
|
297
316
|
flag = true;
|
|
298
317
|
}
|
|
299
318
|
}
|
|
300
|
-
|
|
301
319
|
if (flag) {
|
|
302
320
|
if (!this._skylineAnalysis || this._skylineAnalysis.isDestroyed()) {
|
|
303
321
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
304
322
|
}
|
|
305
|
-
|
|
306
323
|
this._showLimitHeightBody = true;
|
|
307
324
|
this._skylineAnalysis.faceColor = this._options.faceColor;
|
|
308
325
|
this._skylineAnalysis.faceOutlineColor = this._options.faceOutlineColor;
|
|
309
|
-
|
|
310
326
|
this._skylineAnalysis.drawHeightGeo();
|
|
311
|
-
|
|
312
327
|
this._skylineAnalysis.viewer.camera.moveBackward(1);
|
|
313
328
|
} else {
|
|
314
|
-
(0,message/* default */.
|
|
315
|
-
message: "
|
|
329
|
+
(0,message/* default */.A)({
|
|
330
|
+
message: this._language["addModelExtractionTips"],
|
|
316
331
|
type: "warning"
|
|
317
332
|
});
|
|
318
333
|
}
|
|
@@ -320,14 +335,10 @@ class SkylineAnalysisViewModel {
|
|
|
320
335
|
/**
|
|
321
336
|
* 展示二维天际线
|
|
322
337
|
*/
|
|
323
|
-
|
|
324
|
-
|
|
325
338
|
setSkyline2D() {
|
|
326
339
|
let chartStyle = this._chartStyle;
|
|
327
340
|
if (!this._skylineAnalysis) return;
|
|
328
|
-
|
|
329
341
|
var data = this._skylineAnalysis.updateBuffer();
|
|
330
|
-
|
|
331
342
|
var option = {
|
|
332
343
|
title: {
|
|
333
344
|
text: this._skylineAnalysisChartTitle,
|
|
@@ -373,51 +384,39 @@ class SkylineAnalysisViewModel {
|
|
|
373
384
|
};
|
|
374
385
|
this._skylineAnalysisChart && this._skylineAnalysisChart.setOption(option);
|
|
375
386
|
}
|
|
387
|
+
|
|
376
388
|
/**
|
|
377
389
|
* 设置echarts图表样式
|
|
378
390
|
*/
|
|
379
|
-
|
|
380
|
-
|
|
381
391
|
setChartStyle(style) {
|
|
382
392
|
this._chartStyle = style;
|
|
383
|
-
|
|
384
393
|
if (this._skylineAnalysisChart) {
|
|
385
394
|
let option = this._skylineAnalysisChart.getOption();
|
|
386
|
-
|
|
387
395
|
option.title[0].textStyle.color = style.textColor;
|
|
388
396
|
option.tooltip[0].backgroundColor = style.backgroundColor;
|
|
389
397
|
option.tooltip[0].textStyle.color = style.textColor;
|
|
390
398
|
option.yAxis[0].axisLabel.color = style.textColor;
|
|
391
|
-
|
|
392
399
|
this._skylineAnalysisChart.setOption(option);
|
|
393
400
|
}
|
|
394
401
|
}
|
|
395
|
-
|
|
396
402
|
setChartTitle(title) {
|
|
397
403
|
this._skylineAnalysisChartTitle = title;
|
|
398
|
-
|
|
399
404
|
if (this._skylineAnalysisChart) {
|
|
400
405
|
let option = this._skylineAnalysisChart.getOption();
|
|
401
|
-
|
|
402
406
|
option.title[0].text = title;
|
|
403
|
-
|
|
404
407
|
this._skylineAnalysisChart.setOption(option);
|
|
405
408
|
}
|
|
406
409
|
}
|
|
410
|
+
|
|
407
411
|
/**
|
|
408
412
|
* 清除限高体
|
|
409
413
|
*/
|
|
410
|
-
|
|
411
|
-
|
|
412
414
|
removeLimitHeightBody() {
|
|
413
415
|
this._showLimitHeightBody = false;
|
|
414
|
-
|
|
415
416
|
if (this._skylineAnalysis && !this._skylineAnalysis.isDestroyed()) {
|
|
416
417
|
this._skylineAnalysis.removeAlllimitHeights();
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
418
|
+
this._skylineAnalysis.removeAllFaces();
|
|
419
|
+
// this._skylineAnalysis.removeGeoJsonDataSource();
|
|
421
420
|
this._skylineAnalysis.removeCzmlJsonDataSource();
|
|
422
421
|
}
|
|
423
422
|
}
|
|
@@ -425,8 +424,6 @@ class SkylineAnalysisViewModel {
|
|
|
425
424
|
* 设置天际线颜色
|
|
426
425
|
* @param {String} lineColor 天际线颜色
|
|
427
426
|
*/
|
|
428
|
-
|
|
429
|
-
|
|
430
427
|
setLineColor(lineColor) {
|
|
431
428
|
if (!lineColor) return;
|
|
432
429
|
this._options.lineColor = window.Cesium.Color.fromCssColorString(lineColor);
|
|
@@ -437,8 +434,6 @@ class SkylineAnalysisViewModel {
|
|
|
437
434
|
* @param {String} faceColor 限高体轮廓颜色
|
|
438
435
|
* @param {String} alpha 限高体轮廓颜色透明度
|
|
439
436
|
*/
|
|
440
|
-
|
|
441
|
-
|
|
442
437
|
setFaceColor(faceColor, alpha) {
|
|
443
438
|
if (!faceColor) return;
|
|
444
439
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
@@ -448,8 +443,6 @@ class SkylineAnalysisViewModel {
|
|
|
448
443
|
* 设置天际线半径
|
|
449
444
|
* @param {String} radius 天际线半径
|
|
450
445
|
*/
|
|
451
|
-
|
|
452
|
-
|
|
453
446
|
setRadius(radius) {
|
|
454
447
|
if (!radius) return;
|
|
455
448
|
this._options.radius = radius;
|
|
@@ -460,8 +453,6 @@ class SkylineAnalysisViewModel {
|
|
|
460
453
|
* @param {String} faceColor 限高体轮廓颜色
|
|
461
454
|
* @param {String} alpha 限高体轮廓颜色透明度
|
|
462
455
|
*/
|
|
463
|
-
|
|
464
|
-
|
|
465
456
|
setFaceColorAlpha(faceColor, alpha) {
|
|
466
457
|
if (!faceColor) return;
|
|
467
458
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
@@ -472,52 +463,41 @@ class SkylineAnalysisViewModel {
|
|
|
472
463
|
* @param {String} faceOutlineColor 限高体轮廓颜色
|
|
473
464
|
* @param {String} alpha 限高体轮廓颜色透明度
|
|
474
465
|
*/
|
|
475
|
-
|
|
476
|
-
|
|
477
466
|
setFaceOutlineColor(faceOutlineColor, alpha) {
|
|
478
467
|
if (!faceOutlineColor) return;
|
|
479
468
|
this._options.faceOutlineColor = window.Cesium.Color.fromCssColorString(faceOutlineColor).withAlpha(alpha || 1);
|
|
480
|
-
|
|
481
469
|
if (this._skylineAnalysis && this._showLimitHeightBody) {
|
|
482
470
|
this._skylineAnalysis.faceOutlineColor = this._options.faceOutlineColor;
|
|
483
471
|
}
|
|
484
472
|
}
|
|
473
|
+
|
|
485
474
|
/*
|
|
486
475
|
* 清除
|
|
487
476
|
*/
|
|
488
|
-
|
|
489
|
-
|
|
490
477
|
clear() {
|
|
491
478
|
this._showLimitHeightBody = false;
|
|
492
|
-
|
|
493
479
|
if (this._skylineAnalysis) {
|
|
494
480
|
this._skylineAnalysis.destroy();
|
|
495
|
-
|
|
496
481
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
497
482
|
}
|
|
498
483
|
}
|
|
499
484
|
/**
|
|
500
485
|
* 销毁
|
|
501
486
|
*/
|
|
502
|
-
|
|
503
|
-
|
|
504
487
|
destroy() {
|
|
505
488
|
this._showLimitHeightBody = false;
|
|
506
|
-
|
|
507
489
|
if (this._skylineAnalysis) {
|
|
508
490
|
this._skylineAnalysis.destroy();
|
|
509
|
-
|
|
510
491
|
this._skylineAnalysis = null;
|
|
511
492
|
}
|
|
512
493
|
}
|
|
513
|
-
|
|
514
494
|
}
|
|
515
495
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
516
|
-
var client_icons_vue_ = __webpack_require__(
|
|
496
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
517
497
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
518
|
-
var util_ = __webpack_require__(
|
|
498
|
+
var util_ = __webpack_require__(2975);
|
|
519
499
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
520
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
500
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
521
501
|
;// CONCATENATED MODULE: external "echarts"
|
|
522
502
|
var external_echarts_namespaceObject = require("echarts");
|
|
523
503
|
;// 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 +522,14 @@ const _hoisted_4 = {
|
|
|
542
522
|
|
|
543
523
|
|
|
544
524
|
|
|
545
|
-
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
// 语言
|
|
546
528
|
|
|
547
529
|
const __default__ = {
|
|
548
530
|
name: "Kq3dSkylineAnalysis"
|
|
549
531
|
};
|
|
550
|
-
/* harmony default export */ var SkylineAnalysisvue_type_script_setup_true_lang_js = (
|
|
532
|
+
/* harmony default export */ var SkylineAnalysisvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
551
533
|
props: {
|
|
552
534
|
// 设置参数
|
|
553
535
|
settingParams: {
|
|
@@ -558,7 +540,6 @@ const __default__ = {
|
|
|
558
540
|
type: Boolean,
|
|
559
541
|
default: true
|
|
560
542
|
},
|
|
561
|
-
|
|
562
543
|
/**
|
|
563
544
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
564
545
|
*/
|
|
@@ -588,19 +569,18 @@ const __default__ = {
|
|
|
588
569
|
default: true
|
|
589
570
|
}
|
|
590
571
|
},
|
|
591
|
-
|
|
592
572
|
setup(__props, {
|
|
593
573
|
expose: __expose
|
|
594
574
|
}) {
|
|
575
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
576
|
+
// 设置
|
|
577
|
+
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
578
|
+
// 分析类
|
|
579
|
+
let viewModel = null;
|
|
580
|
+
// chart显示
|
|
581
|
+
let resultEcahrtVis = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
582
|
+
// 获取组件传参
|
|
595
583
|
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
584
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
605
585
|
skylineColor: props.settingParams && props.settingParams.skylineColor || "#E6A23C",
|
|
606
586
|
// 天际线颜色
|
|
@@ -619,14 +599,16 @@ const __default__ = {
|
|
|
619
599
|
maxLimitHeightBodyAlpha: props.settingParams && props.settingParams.maxLimitHeightBodyAlpha || 1,
|
|
620
600
|
// 限高体透明度范围最大值
|
|
621
601
|
skylineWidth: 2 // 天际线宽度
|
|
602
|
+
});
|
|
622
603
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
604
|
+
// 组件容器Ref
|
|
605
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
626
606
|
|
|
607
|
+
// 生成组件默认header
|
|
627
608
|
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)();
|
|
609
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
629
610
|
|
|
611
|
+
// 国际化
|
|
630
612
|
let {
|
|
631
613
|
locale,
|
|
632
614
|
messages
|
|
@@ -658,8 +640,9 @@ const __default__ = {
|
|
|
658
640
|
viewModel._skylineAnalysisChartTitle = scenceView._language["skylineAnalysisChartTitle"];
|
|
659
641
|
}
|
|
660
642
|
});
|
|
661
|
-
});
|
|
643
|
+
});
|
|
662
644
|
|
|
645
|
+
// 监听主题变化,重置Echarts
|
|
663
646
|
const observer = new MutationObserver(mutationsList => {
|
|
664
647
|
for (let mutation of mutationsList) {
|
|
665
648
|
if (mutation.type === "attributes" && mutation.attributeName === "class") {
|
|
@@ -667,18 +650,17 @@ const __default__ = {
|
|
|
667
650
|
viewModel.setChartStyle(style);
|
|
668
651
|
}
|
|
669
652
|
}
|
|
670
|
-
});
|
|
653
|
+
});
|
|
671
654
|
|
|
655
|
+
// 配置要观察的目标节点及其属性
|
|
672
656
|
const targetNode = document.querySelector("html");
|
|
673
657
|
const config = {
|
|
674
658
|
attributes: true
|
|
675
659
|
};
|
|
676
660
|
observer.observe(targetNode, config);
|
|
677
|
-
|
|
678
661
|
const setEchartsColor = () => {
|
|
679
662
|
let style = {};
|
|
680
663
|
let themeStyle = window.getComputedStyle(document.documentElement).getPropertyValue("color-scheme");
|
|
681
|
-
|
|
682
664
|
if (themeStyle === "dark") {
|
|
683
665
|
style.textColor = "#fff";
|
|
684
666
|
style.backgroundColor = "#2A2A2A";
|
|
@@ -686,72 +668,62 @@ const __default__ = {
|
|
|
686
668
|
style.textColor = "#333";
|
|
687
669
|
style.backgroundColor = "#ffffff";
|
|
688
670
|
}
|
|
689
|
-
|
|
690
671
|
return style;
|
|
691
672
|
};
|
|
673
|
+
|
|
692
674
|
/**
|
|
693
675
|
* @description 监听header生成
|
|
694
676
|
*/
|
|
695
|
-
|
|
696
|
-
|
|
697
677
|
const watchCreateHeaderTemp = () => {
|
|
698
678
|
if (props.showHeaderTemp) {
|
|
699
679
|
// 生成headerTemp
|
|
700
680
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
701
681
|
}
|
|
702
|
-
};
|
|
703
|
-
|
|
682
|
+
};
|
|
704
683
|
|
|
684
|
+
// 提取天际线
|
|
705
685
|
function pickSkyLine() {
|
|
706
686
|
resultEcahrtVis.value = true;
|
|
707
687
|
setTimeout(() => {
|
|
708
688
|
viewModel._skylineAnalysisChart = external_echarts_namespaceObject.init(document.getElementById("resultEcahrt"));
|
|
709
689
|
viewModel && viewModel.pickSkyLine();
|
|
710
690
|
}, 500);
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
|
|
691
|
+
}
|
|
692
|
+
// 绘制限高体
|
|
714
693
|
function drawLimitHeightBody() {
|
|
715
694
|
viewModel && viewModel.drawLimitHeightBody();
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
|
|
695
|
+
}
|
|
696
|
+
// 清除限高体
|
|
719
697
|
function removeLimitHeightBody() {
|
|
720
698
|
viewModel && viewModel.removeLimitHeightBody();
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
|
|
699
|
+
}
|
|
700
|
+
//清除结果
|
|
724
701
|
function clearResult() {
|
|
725
702
|
resultEcahrtVis.value = false;
|
|
726
703
|
viewModel && viewModel.clear();
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
|
|
704
|
+
}
|
|
705
|
+
// 改变天际线颜色
|
|
730
706
|
function onChangeSkylineColor() {
|
|
731
707
|
viewModel && viewModel.setLineColor(formItem.skylineColor);
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
|
|
708
|
+
}
|
|
709
|
+
// 改变限高体颜色
|
|
735
710
|
function onChangeLimitHeightBodyColor() {
|
|
736
711
|
viewModel && viewModel.setFaceColor(formItem.limitHeightBodyColor, formItem.limitHeightBodyAlpha);
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
|
|
712
|
+
}
|
|
713
|
+
// 改变天际线半径
|
|
740
714
|
function onChangeSkylineRadius() {
|
|
741
715
|
viewModel && viewModel.setRadius(formItem.skylineRadius);
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
|
|
716
|
+
}
|
|
717
|
+
// 限高体轮廓透明度
|
|
745
718
|
function onChangeLimitHeightBodyAlpha() {
|
|
746
719
|
viewModel && viewModel.setFaceColorAlpha(formItem.limitHeightBodyColor, formItem.limitHeightBodyAlpha);
|
|
747
|
-
}
|
|
748
|
-
|
|
720
|
+
}
|
|
749
721
|
|
|
722
|
+
// 销毁
|
|
750
723
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
751
724
|
resultEcahrtVis.value = false;
|
|
752
725
|
viewModel && viewModel.destroy();
|
|
753
726
|
});
|
|
754
|
-
|
|
755
727
|
__expose({
|
|
756
728
|
pickSkyLine,
|
|
757
729
|
drawLimitHeightBody,
|
|
@@ -762,28 +734,17 @@ const __default__ = {
|
|
|
762
734
|
onChangeLimitHeightBodyAlpha,
|
|
763
735
|
clearResult
|
|
764
736
|
});
|
|
765
|
-
|
|
766
737
|
return (_ctx, _cache) => {
|
|
767
738
|
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
768
|
-
|
|
769
739
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
770
|
-
|
|
771
740
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
772
|
-
|
|
773
741
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
774
|
-
|
|
775
742
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
776
|
-
|
|
777
743
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
778
|
-
|
|
779
744
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
780
|
-
|
|
781
745
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
782
|
-
|
|
783
746
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
784
|
-
|
|
785
747
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
786
|
-
|
|
787
748
|
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
749
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-skyline-analysis", {
|
|
789
750
|
'kq-box-shadow': __props.showShadow
|
|
@@ -794,9 +755,7 @@ const __default__ = {
|
|
|
794
755
|
key: 0,
|
|
795
756
|
ref_key: "headerTempRef",
|
|
796
757
|
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, {
|
|
758
|
+
}, 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
759
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue),
|
|
801
760
|
class: "kq3d-skyline-analysis-collapse"
|
|
802
761
|
}, {
|
|
@@ -816,18 +775,10 @@ const __default__ = {
|
|
|
816
775
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).skylineColor,
|
|
817
776
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).skylineColor = $event),
|
|
818
777
|
onChange: onChangeSkylineColor
|
|
819
|
-
}, null, 8
|
|
820
|
-
/*
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
/* STABLE */
|
|
824
|
-
|
|
825
|
-
}, 8
|
|
826
|
-
/* PROPS */
|
|
827
|
-
, ["label"])]),
|
|
828
|
-
_: 1
|
|
829
|
-
/* STABLE */
|
|
830
|
-
|
|
778
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
779
|
+
_: 1 /* STABLE */
|
|
780
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
781
|
+
_: 1 /* STABLE */
|
|
831
782
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
832
783
|
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
784
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).skylineRadius
|
|
@@ -847,12 +798,8 @@ const __default__ = {
|
|
|
847
798
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSkylineRadius,
|
|
848
799
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSkylineRadius,
|
|
849
800
|
onInput: onChangeSkylineRadius
|
|
850
|
-
}, null, 8
|
|
851
|
-
/*
|
|
852
|
-
, ["modelValue", "min", "max"])]),
|
|
853
|
-
_: 1
|
|
854
|
-
/* STABLE */
|
|
855
|
-
|
|
801
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
802
|
+
_: 1 /* STABLE */
|
|
856
803
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
857
804
|
span: 8
|
|
858
805
|
}, {
|
|
@@ -863,26 +810,14 @@ const __default__ = {
|
|
|
863
810
|
step: 100,
|
|
864
811
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSkylineRadius,
|
|
865
812
|
"controls-position": "right"
|
|
866
|
-
}, null, 8
|
|
867
|
-
/*
|
|
868
|
-
, ["modelValue", "min", "max"])]),
|
|
869
|
-
_: 1
|
|
870
|
-
/* STABLE */
|
|
871
|
-
|
|
813
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
814
|
+
_: 1 /* STABLE */
|
|
872
815
|
})]),
|
|
873
|
-
_: 1
|
|
874
|
-
/* STABLE */
|
|
875
|
-
|
|
816
|
+
_: 1 /* STABLE */
|
|
876
817
|
})]),
|
|
877
|
-
_: 1
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
}, 8
|
|
881
|
-
/* PROPS */
|
|
882
|
-
, ["label"])]),
|
|
883
|
-
_: 1
|
|
884
|
-
/* STABLE */
|
|
885
|
-
|
|
818
|
+
_: 1 /* STABLE */
|
|
819
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
820
|
+
_: 1 /* STABLE */
|
|
886
821
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
887
822
|
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
823
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).limitHeightBodyColor
|
|
@@ -891,18 +826,10 @@ const __default__ = {
|
|
|
891
826
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).limitHeightBodyColor,
|
|
892
827
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).limitHeightBodyColor = $event),
|
|
893
828
|
onChange: onChangeLimitHeightBodyColor
|
|
894
|
-
}, null, 8
|
|
895
|
-
/*
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
/* STABLE */
|
|
899
|
-
|
|
900
|
-
}, 8
|
|
901
|
-
/* PROPS */
|
|
902
|
-
, ["label"])]),
|
|
903
|
-
_: 1
|
|
904
|
-
/* STABLE */
|
|
905
|
-
|
|
829
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
830
|
+
_: 1 /* STABLE */
|
|
831
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
832
|
+
_: 1 /* STABLE */
|
|
906
833
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
907
834
|
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
835
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).limitHeightBodyAlpha
|
|
@@ -922,12 +849,8 @@ const __default__ = {
|
|
|
922
849
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minLimitHeightBodyAlpha,
|
|
923
850
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLimitHeightBodyAlpha,
|
|
924
851
|
onInput: onChangeLimitHeightBodyAlpha
|
|
925
|
-
}, null, 8
|
|
926
|
-
/*
|
|
927
|
-
, ["modelValue", "step", "min", "max"])]),
|
|
928
|
-
_: 1
|
|
929
|
-
/* STABLE */
|
|
930
|
-
|
|
852
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
853
|
+
_: 1 /* STABLE */
|
|
931
854
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
932
855
|
span: 8
|
|
933
856
|
}, {
|
|
@@ -938,43 +861,21 @@ const __default__ = {
|
|
|
938
861
|
step: 0.1,
|
|
939
862
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLimitHeightBodyAlpha,
|
|
940
863
|
"controls-position": "right"
|
|
941
|
-
}, null, 8
|
|
942
|
-
/*
|
|
943
|
-
, ["modelValue", "min", "step", "max"])]),
|
|
944
|
-
_: 1
|
|
945
|
-
/* STABLE */
|
|
946
|
-
|
|
864
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
865
|
+
_: 1 /* STABLE */
|
|
947
866
|
})]),
|
|
948
|
-
_: 1
|
|
949
|
-
/* STABLE */
|
|
950
|
-
|
|
867
|
+
_: 1 /* STABLE */
|
|
951
868
|
})]),
|
|
952
|
-
_: 1
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
}, 8
|
|
956
|
-
/* PROPS */
|
|
957
|
-
, ["label"])]),
|
|
958
|
-
_: 1
|
|
959
|
-
/* STABLE */
|
|
960
|
-
|
|
869
|
+
_: 1 /* STABLE */
|
|
870
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
871
|
+
_: 1 /* STABLE */
|
|
961
872
|
})]),
|
|
962
|
-
_: 1
|
|
963
|
-
/* STABLE */
|
|
964
|
-
|
|
873
|
+
_: 1 /* STABLE */
|
|
965
874
|
})]),
|
|
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, {
|
|
875
|
+
_: 1 /* STABLE */
|
|
876
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
877
|
+
_: 1 /* STABLE */
|
|
878
|
+
}, 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
879
|
gutter: 20,
|
|
979
880
|
class: "btnClass"
|
|
980
881
|
}, {
|
|
@@ -986,18 +887,10 @@ const __default__ = {
|
|
|
986
887
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pickSkyLine,
|
|
987
888
|
type: "primary"
|
|
988
889
|
}, {
|
|
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
|
-
|
|
890
|
+
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 */)]),
|
|
891
|
+
_: 1 /* STABLE */
|
|
892
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
893
|
+
_: 1 /* STABLE */
|
|
1001
894
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1002
895
|
span: 12
|
|
1003
896
|
}, {
|
|
@@ -1006,22 +899,12 @@ const __default__ = {
|
|
|
1006
899
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).drawLimitHeightBody,
|
|
1007
900
|
type: "primary"
|
|
1008
901
|
}, {
|
|
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
|
-
|
|
902
|
+
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 */)]),
|
|
903
|
+
_: 1 /* STABLE */
|
|
904
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
905
|
+
_: 1 /* STABLE */
|
|
1021
906
|
})]),
|
|
1022
|
-
_: 1
|
|
1023
|
-
/* STABLE */
|
|
1024
|
-
|
|
907
|
+
_: 1 /* STABLE */
|
|
1025
908
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1026
909
|
gutter: 20
|
|
1027
910
|
}, {
|
|
@@ -1032,18 +915,10 @@ const __default__ = {
|
|
|
1032
915
|
onClick: _cache[8] || (_cache[8] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => removeLimitHeightBody(), ["stop"])),
|
|
1033
916
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).removeLimitHeightBody
|
|
1034
917
|
}, {
|
|
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
|
-
|
|
918
|
+
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 */)]),
|
|
919
|
+
_: 1 /* STABLE */
|
|
920
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
921
|
+
_: 1 /* STABLE */
|
|
1047
922
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1048
923
|
span: 12
|
|
1049
924
|
}, {
|
|
@@ -1051,28 +926,15 @@ const __default__ = {
|
|
|
1051
926
|
onClick: _cache[9] || (_cache[9] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
1052
927
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
1053
928
|
}, {
|
|
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
|
-
|
|
929
|
+
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 */)]),
|
|
930
|
+
_: 1 /* STABLE */
|
|
931
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
932
|
+
_: 1 /* STABLE */
|
|
1066
933
|
})]),
|
|
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
|
-
);
|
|
934
|
+
_: 1 /* STABLE */
|
|
935
|
+
})]), (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
936
|
};
|
|
1074
937
|
}
|
|
1075
|
-
|
|
1076
938
|
}));
|
|
1077
939
|
;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/SkylineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
1078
940
|
|
|
@@ -1084,10 +946,13 @@ const __exports__ = SkylineAnalysisvue_type_script_setup_true_lang_js;
|
|
|
1084
946
|
|
|
1085
947
|
/* harmony default export */ var SkylineAnalysis = (__exports__);
|
|
1086
948
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1087
|
-
var init_js_ = __webpack_require__(
|
|
949
|
+
var init_js_ = __webpack_require__(455);
|
|
1088
950
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
1089
951
|
;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/index.js
|
|
1090
|
-
|
|
952
|
+
/*
|
|
953
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
954
|
+
* All rights reserved.
|
|
955
|
+
*/
|
|
1091
956
|
|
|
1092
957
|
|
|
1093
958
|
|
|
@@ -1096,8 +961,6 @@ SkylineAnalysis.install = (Vue, opts) => {
|
|
|
1096
961
|
Vue.component(SkylineAnalysis.name, SkylineAnalysis);
|
|
1097
962
|
};
|
|
1098
963
|
|
|
1099
|
-
|
|
1100
|
-
}();
|
|
1101
964
|
/******/ return __webpack_exports__;
|
|
1102
965
|
/******/ })()
|
|
1103
966
|
;
|