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