@kq_npm/client3d_webgl_vue 4.5.10 → 4.5.12-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 +61 -56
- package/aspectanalysis/index.js +35 -32
- package/baseterraingallery/index.js +32 -29
- package/boxclip/index.js +44 -41
- package/clientPrint/index.js +2305 -8834
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +29 -26
- package/compass/index.js +26 -23
- package/excavatefillanalysis/index.js +42 -39
- package/excavatefillanalysis/style/excavatefillanalysis.css +1 -1
- package/fixedzoomin/index.js +26 -23
- package/fixedzoomout/index.js +26 -23
- package/flight/index.js +45 -42
- package/floodanalysis/index.js +48 -45
- package/geologicalbodyanalysis/index.js +42 -39
- package/gpuspatialquery/index.js +43 -40
- package/hawkeye/index.js +22 -19
- package/headertemp/index.js +13 -10
- package/heatmap3d/index.js +83 -80
- package/index.js +1386 -7992
- package/isolineanalysis/index.js +53 -50
- package/light/index.js +38 -35
- package/limitheightanalysis/index.js +93 -42
- package/measure/index.js +43 -40
- package/modelFlat/index.js +48 -45
- package/modelexcavate/index.js +53 -50
- package/modelfilter/index.js +41 -38
- package/modelprofileanalysis/index.js +117 -68
- package/modelselect/index.js +45 -42
- package/package.json +1 -1
- package/particleeffect/index.js +40 -37
- package/planeclip/index.js +44 -41
- package/resetview/index.js +26 -23
- package/roller/index.js +39 -36
- package/scaneffect/index.js +42 -39
- package/sceneadvancedtoimage/index.js +45 -42
- package/sceneapp/index.js +98 -7611
- package/sceneset/index.js +51 -48
- package/scenetohdimage/index.js +32 -29
- package/sceneview/index.js +2306 -8835
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +33 -30
- package/shadowanalysis/index.js +39 -36
- package/shadowanalysis/style/shadowanalysis.css +1 -1
- package/sightlineanalysis/index.js +59 -56
- package/skylineanalysis/index.js +49 -45
- package/slopeanalysis/index.js +45 -42
- package/slopeaspectanalysis/index.js +46 -43
- package/statusbar/index.js +36 -33
- package/style.css +1 -1
- package/terrainoperation/index.js +48 -45
- package/terrainprofileanalysis/index.js +46 -43
- package/underground/index.js +28 -25
- package/videofusion/index.js +45 -42
- package/videoproject/index.js +45 -42
- package/viewshedanalysis/index.js +35 -32
- package/weathereffect/index.js +34 -31
- package/wireframesketch/index.js +34 -31
|
@@ -7,12 +7,12 @@
|
|
|
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/_utils/const-image"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
|
|
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__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__6277__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7997__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 7705:
|
|
16
16
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
17
17
|
|
|
18
18
|
|
|
@@ -23,8 +23,8 @@ return /******/ (function() { // webpackBootstrap
|
|
|
23
23
|
*/
|
|
24
24
|
// css base code, injected by the css-loader
|
|
25
25
|
// eslint-disable-next-line func-names
|
|
26
|
-
__webpack_require__(
|
|
27
|
-
__webpack_require__(
|
|
26
|
+
__webpack_require__(2118);
|
|
27
|
+
__webpack_require__(2170);
|
|
28
28
|
module.exports = function (cssWithMappingToString) {
|
|
29
29
|
var list = []; // return the list of modules as css string
|
|
30
30
|
|
|
@@ -75,10 +75,10 @@ module.exports = function (cssWithMappingToString) {
|
|
|
75
75
|
|
|
76
76
|
/***/ }),
|
|
77
77
|
|
|
78
|
-
/***/
|
|
78
|
+
/***/ 6868:
|
|
79
79
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
80
80
|
|
|
81
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
81
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7705);
|
|
82
82
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
83
83
|
// Imports
|
|
84
84
|
|
|
@@ -86,12 +86,12 @@ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBP
|
|
|
86
86
|
// Module
|
|
87
87
|
___CSS_LOADER_EXPORT___.push([module.id, ".coord-sightline{background:rgba(42,42,42,.8);border-radius:4px;padding:5px;color:#edffff;font-size:15px}.coord-sightline .triangle{display:block;height:16px;width:16px;background-color:inherit;border:inherit;position:absolute;bottom:-8px;left:calc(50% - 8px);clip-path:polygon(0% 0%, 100% 100%, 0% 100%);transform:rotate(-45deg)}", ""]);
|
|
88
88
|
// Exports
|
|
89
|
-
/* harmony default export */ __webpack_exports__
|
|
89
|
+
/* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
/***/ }),
|
|
93
93
|
|
|
94
|
-
/***/
|
|
94
|
+
/***/ 3379:
|
|
95
95
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
96
96
|
|
|
97
97
|
|
|
@@ -366,83 +366,83 @@ module.exports = function (list, options) {
|
|
|
366
366
|
|
|
367
367
|
/***/ }),
|
|
368
368
|
|
|
369
|
-
/***/
|
|
369
|
+
/***/ 348:
|
|
370
370
|
/***/ (function(module) {
|
|
371
371
|
|
|
372
372
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
373
373
|
|
|
374
374
|
/***/ }),
|
|
375
375
|
|
|
376
|
-
/***/
|
|
376
|
+
/***/ 2118:
|
|
377
377
|
/***/ (function(module) {
|
|
378
378
|
|
|
379
379
|
module.exports = require("core-js/modules/es.array.push.js");
|
|
380
380
|
|
|
381
381
|
/***/ }),
|
|
382
382
|
|
|
383
|
-
/***/
|
|
383
|
+
/***/ 8470:
|
|
384
384
|
/***/ (function(module) {
|
|
385
385
|
|
|
386
386
|
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
387
387
|
|
|
388
388
|
/***/ }),
|
|
389
389
|
|
|
390
|
-
/***/
|
|
390
|
+
/***/ 2170:
|
|
391
391
|
/***/ (function(module) {
|
|
392
392
|
|
|
393
393
|
module.exports = require("core-js/modules/esnext.iterator.map.js");
|
|
394
394
|
|
|
395
395
|
/***/ }),
|
|
396
396
|
|
|
397
|
-
/***/
|
|
397
|
+
/***/ 7080:
|
|
398
398
|
/***/ (function(module) {
|
|
399
399
|
|
|
400
400
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
401
401
|
|
|
402
402
|
/***/ }),
|
|
403
403
|
|
|
404
|
-
/***/
|
|
404
|
+
/***/ 6277:
|
|
405
405
|
/***/ (function(module) {
|
|
406
406
|
|
|
407
|
-
module.exports =
|
|
407
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__6277__;
|
|
408
408
|
|
|
409
409
|
/***/ }),
|
|
410
410
|
|
|
411
|
-
/***/
|
|
411
|
+
/***/ 7135:
|
|
412
412
|
/***/ (function(module) {
|
|
413
413
|
|
|
414
|
-
module.exports =
|
|
414
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
415
415
|
|
|
416
416
|
/***/ }),
|
|
417
417
|
|
|
418
|
-
/***/
|
|
418
|
+
/***/ 3458:
|
|
419
419
|
/***/ (function(module) {
|
|
420
420
|
|
|
421
|
-
module.exports =
|
|
421
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
422
422
|
|
|
423
423
|
/***/ }),
|
|
424
424
|
|
|
425
|
-
/***/
|
|
425
|
+
/***/ 7997:
|
|
426
426
|
/***/ (function(module) {
|
|
427
427
|
|
|
428
|
-
module.exports =
|
|
428
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
429
429
|
|
|
430
430
|
/***/ }),
|
|
431
431
|
|
|
432
|
-
/***/
|
|
432
|
+
/***/ 1895:
|
|
433
433
|
/***/ (function(module) {
|
|
434
434
|
|
|
435
|
-
module.exports =
|
|
435
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
436
436
|
|
|
437
437
|
/***/ }),
|
|
438
438
|
|
|
439
|
-
/***/
|
|
439
|
+
/***/ 5301:
|
|
440
440
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
441
441
|
|
|
442
442
|
|
|
443
443
|
// EXPORTS
|
|
444
444
|
__webpack_require__.d(__webpack_exports__, {
|
|
445
|
-
|
|
445
|
+
"Z": function() { return /* binding */ _defineProperty; }
|
|
446
446
|
});
|
|
447
447
|
|
|
448
448
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
@@ -565,32 +565,34 @@ function _defineProperty(e, r, t) {
|
|
|
565
565
|
/******/
|
|
566
566
|
/************************************************************************/
|
|
567
567
|
var __webpack_exports__ = {};
|
|
568
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
569
|
+
!function() {
|
|
568
570
|
// ESM COMPAT FLAG
|
|
569
571
|
__webpack_require__.r(__webpack_exports__);
|
|
570
572
|
|
|
571
573
|
// EXPORTS
|
|
572
574
|
__webpack_require__.d(__webpack_exports__, {
|
|
573
|
-
SightlineAnalysisViewModel: function() { return /* reexport */ SightlineAnalysisViewModel; },
|
|
575
|
+
"SightlineAnalysisViewModel": function() { return /* reexport */ SightlineAnalysisViewModel; },
|
|
574
576
|
"default": function() { return /* reexport */ SightlineAnalysis; }
|
|
575
577
|
});
|
|
576
578
|
|
|
577
579
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
578
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
580
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
579
581
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
580
|
-
var gis_utils_ = __webpack_require__(
|
|
582
|
+
var gis_utils_ = __webpack_require__(7135);
|
|
581
583
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
582
|
-
var defineProperty = __webpack_require__(
|
|
584
|
+
var defineProperty = __webpack_require__(5301);
|
|
583
585
|
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
584
|
-
var es_array_push_js_ = __webpack_require__(
|
|
586
|
+
var es_array_push_js_ = __webpack_require__(2118);
|
|
585
587
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
586
|
-
var esnext_iterator_constructor_js_ = __webpack_require__(
|
|
588
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
587
589
|
;// CONCATENATED MODULE: external "core-js/modules/esnext.iterator.some.js"
|
|
588
590
|
var esnext_iterator_some_js_namespaceObject = require("core-js/modules/esnext.iterator.some.js");
|
|
589
591
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
590
|
-
var injectStylesIntoStyleTag = __webpack_require__(
|
|
592
|
+
var injectStylesIntoStyleTag = __webpack_require__(3379);
|
|
591
593
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
592
594
|
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/webgl/sightlineanalysis/style/divpoint.scss
|
|
593
|
-
var divpoint = __webpack_require__(
|
|
595
|
+
var divpoint = __webpack_require__(6868);
|
|
594
596
|
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/style/divpoint.scss
|
|
595
597
|
|
|
596
598
|
|
|
@@ -600,13 +602,13 @@ var options = {};
|
|
|
600
602
|
options.insert = "head";
|
|
601
603
|
options.singleton = false;
|
|
602
604
|
|
|
603
|
-
var update = injectStylesIntoStyleTag_default()(divpoint/* default */.
|
|
605
|
+
var update = injectStylesIntoStyleTag_default()(divpoint/* default */.Z, options);
|
|
604
606
|
|
|
605
607
|
|
|
606
608
|
|
|
607
|
-
/* harmony default export */ var style_divpoint = (divpoint/* default */.
|
|
609
|
+
/* harmony default export */ var style_divpoint = (divpoint/* default.locals */.Z.locals || {});
|
|
608
610
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
609
|
-
var const_image_ = __webpack_require__(
|
|
611
|
+
var const_image_ = __webpack_require__(6277);
|
|
610
612
|
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/SightlineAnalysisViewModel.js
|
|
611
613
|
|
|
612
614
|
|
|
@@ -621,29 +623,29 @@ var const_image_ = __webpack_require__(4822);
|
|
|
621
623
|
//通视分析逻辑类
|
|
622
624
|
class SightlineAnalysisViewModel {
|
|
623
625
|
constructor(scenceView, options, language) {
|
|
624
|
-
(0,defineProperty/* default */.
|
|
626
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
625
627
|
//三维viewer对象
|
|
626
|
-
(0,defineProperty/* default */.
|
|
628
|
+
(0,defineProperty/* default */.Z)(this, "_sightlineAnalysis", null);
|
|
627
629
|
//通视分析三维对象
|
|
628
|
-
(0,defineProperty/* default */.
|
|
630
|
+
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
629
631
|
//绘制管理对象
|
|
630
|
-
(0,defineProperty/* default */.
|
|
632
|
+
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
631
633
|
//绘制完成监听事件
|
|
632
|
-
(0,defineProperty/* default */.
|
|
634
|
+
(0,defineProperty/* default */.Z)(this, "_obstacleColor", Cesium.Color.RED);
|
|
633
635
|
//障碍物颜色
|
|
634
|
-
(0,defineProperty/* default */.
|
|
636
|
+
(0,defineProperty/* default */.Z)(this, "_isLabel", false);
|
|
635
637
|
//是否显示标注
|
|
636
|
-
(0,defineProperty/* default */.
|
|
638
|
+
(0,defineProperty/* default */.Z)(this, "_addType", 0);
|
|
637
639
|
//添加的点的类型
|
|
638
|
-
(0,defineProperty/* default */.
|
|
640
|
+
(0,defineProperty/* default */.Z)(this, "_pointCollection", []);
|
|
639
641
|
//创建的divpoint集合
|
|
640
|
-
(0,defineProperty/* default */.
|
|
642
|
+
(0,defineProperty/* default */.Z)(this, "_cartographicList", []);
|
|
641
643
|
//拾取的点位集合
|
|
642
|
-
(0,defineProperty/* default */.
|
|
644
|
+
(0,defineProperty/* default */.Z)(this, "_highlightIds", []);
|
|
643
645
|
//高亮的障碍物的id集合
|
|
644
|
-
(0,defineProperty/* default */.
|
|
646
|
+
(0,defineProperty/* default */.Z)(this, "_billboards", []);
|
|
645
647
|
// 点位图标billboards集合
|
|
646
|
-
(0,defineProperty/* default */.
|
|
648
|
+
(0,defineProperty/* default */.Z)(this, "_language", null);
|
|
647
649
|
this._viewer = scenceView._viewer;
|
|
648
650
|
this._viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
649
651
|
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
@@ -867,11 +869,11 @@ class SightlineAnalysisViewModel {
|
|
|
867
869
|
}
|
|
868
870
|
}
|
|
869
871
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
870
|
-
var client_icons_vue_ = __webpack_require__(
|
|
872
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
871
873
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
872
|
-
var util_ = __webpack_require__(
|
|
874
|
+
var util_ = __webpack_require__(3458);
|
|
873
875
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
874
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
876
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
875
877
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
876
878
|
|
|
877
879
|
const _hoisted_1 = {
|
|
@@ -938,10 +940,10 @@ const __default__ = {
|
|
|
938
940
|
// 获取组件传参
|
|
939
941
|
const props = __props;
|
|
940
942
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
941
|
-
|
|
942
|
-
visibleColor: props.settingParams && props.settingParams.visibleColor || "#
|
|
943
|
-
invisibleColor: props.settingParams && props.settingParams.invisibleColor || "#
|
|
944
|
-
obstacleColor: props.settingParams && props.settingParams.obstacleColor || "#
|
|
943
|
+
lineWidth: props.settingParams && props.settingParams.lineWidth || 5,
|
|
944
|
+
visibleColor: props.settingParams && props.settingParams.visibleColor || "#00ff00",
|
|
945
|
+
invisibleColor: props.settingParams && props.settingParams.invisibleColor || "#ff0000",
|
|
946
|
+
obstacleColor: props.settingParams && props.settingParams.obstacleColor || "#e6a23c",
|
|
945
947
|
obstaclePoint: props.settingParams && props.settingParams.obstaclePoint !== undefined || false,
|
|
946
948
|
highlightObstacle: props.settingParams && props.settingParams.highlightObstacle !== undefined || false,
|
|
947
949
|
isLabel: props.settingParams && props.settingParams.isLabel !== undefined || true
|
|
@@ -1166,7 +1168,7 @@ const __exports__ = SightlineAnalysisvue_type_script_setup_true_lang_js;
|
|
|
1166
1168
|
|
|
1167
1169
|
/* harmony default export */ var SightlineAnalysis = (__exports__);
|
|
1168
1170
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1169
|
-
var init_js_ = __webpack_require__(
|
|
1171
|
+
var init_js_ = __webpack_require__(7997);
|
|
1170
1172
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
1171
1173
|
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/index.js
|
|
1172
1174
|
/*
|
|
@@ -1181,6 +1183,7 @@ SightlineAnalysis.install = (Vue, opts) => {
|
|
|
1181
1183
|
Vue.component(SightlineAnalysis.name, SightlineAnalysis);
|
|
1182
1184
|
};
|
|
1183
1185
|
|
|
1186
|
+
}();
|
|
1184
1187
|
/******/ return __webpack_exports__;
|
|
1185
1188
|
/******/ })()
|
|
1186
1189
|
;
|
package/skylineanalysis/index.js
CHANGED
|
@@ -7,17 +7,17 @@
|
|
|
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__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 1349:
|
|
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__(9389);
|
|
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__(7997);
|
|
21
21
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
22
|
/*
|
|
23
23
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
@@ -29,66 +29,66 @@ element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install =
|
|
|
29
29
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
30
30
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
31
|
};
|
|
32
|
-
/* harmony default export */ __webpack_exports__
|
|
32
|
+
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
33
33
|
|
|
34
34
|
/***/ }),
|
|
35
35
|
|
|
36
|
-
/***/
|
|
36
|
+
/***/ 348:
|
|
37
37
|
/***/ (function(module) {
|
|
38
38
|
|
|
39
39
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
40
40
|
|
|
41
41
|
/***/ }),
|
|
42
42
|
|
|
43
|
-
/***/
|
|
43
|
+
/***/ 9389:
|
|
44
44
|
/***/ (function(module) {
|
|
45
45
|
|
|
46
46
|
module.exports = require("element-plus/dist/index.full.js");
|
|
47
47
|
|
|
48
48
|
/***/ }),
|
|
49
49
|
|
|
50
|
-
/***/
|
|
50
|
+
/***/ 7080:
|
|
51
51
|
/***/ (function(module) {
|
|
52
52
|
|
|
53
53
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
54
54
|
|
|
55
55
|
/***/ }),
|
|
56
56
|
|
|
57
|
-
/***/
|
|
57
|
+
/***/ 7135:
|
|
58
58
|
/***/ (function(module) {
|
|
59
59
|
|
|
60
|
-
module.exports =
|
|
60
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
61
61
|
|
|
62
62
|
/***/ }),
|
|
63
63
|
|
|
64
|
-
/***/
|
|
64
|
+
/***/ 3458:
|
|
65
65
|
/***/ (function(module) {
|
|
66
66
|
|
|
67
|
-
module.exports =
|
|
67
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
68
68
|
|
|
69
69
|
/***/ }),
|
|
70
70
|
|
|
71
|
-
/***/
|
|
71
|
+
/***/ 7997:
|
|
72
72
|
/***/ (function(module) {
|
|
73
73
|
|
|
74
|
-
module.exports =
|
|
74
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
75
75
|
|
|
76
76
|
/***/ }),
|
|
77
77
|
|
|
78
|
-
/***/
|
|
78
|
+
/***/ 1895:
|
|
79
79
|
/***/ (function(module) {
|
|
80
80
|
|
|
81
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
82
82
|
|
|
83
83
|
/***/ }),
|
|
84
84
|
|
|
85
|
-
/***/
|
|
85
|
+
/***/ 5301:
|
|
86
86
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
// EXPORTS
|
|
90
90
|
__webpack_require__.d(__webpack_exports__, {
|
|
91
|
-
|
|
91
|
+
"Z": function() { return /* binding */ _defineProperty; }
|
|
92
92
|
});
|
|
93
93
|
|
|
94
94
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
@@ -206,23 +206,25 @@ function _defineProperty(e, r, t) {
|
|
|
206
206
|
/******/
|
|
207
207
|
/************************************************************************/
|
|
208
208
|
var __webpack_exports__ = {};
|
|
209
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
210
|
+
!function() {
|
|
209
211
|
// ESM COMPAT FLAG
|
|
210
212
|
__webpack_require__.r(__webpack_exports__);
|
|
211
213
|
|
|
212
214
|
// EXPORTS
|
|
213
215
|
__webpack_require__.d(__webpack_exports__, {
|
|
214
|
-
SkylineAnalysisViewModel: function() { return /* reexport */ SkylineAnalysisViewModel; },
|
|
216
|
+
"SkylineAnalysisViewModel": function() { return /* reexport */ SkylineAnalysisViewModel; },
|
|
215
217
|
"default": function() { return /* reexport */ SkylineAnalysis; }
|
|
216
218
|
});
|
|
217
219
|
|
|
218
220
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
219
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
221
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
220
222
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
221
|
-
var gis_utils_ = __webpack_require__(
|
|
223
|
+
var gis_utils_ = __webpack_require__(7135);
|
|
222
224
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
223
|
-
var defineProperty = __webpack_require__(
|
|
225
|
+
var defineProperty = __webpack_require__(5301);
|
|
224
226
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
225
|
-
var message = __webpack_require__(
|
|
227
|
+
var message = __webpack_require__(1349);
|
|
226
228
|
;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/SkylineAnalysisViewModel.js
|
|
227
229
|
|
|
228
230
|
/*
|
|
@@ -237,7 +239,7 @@ class SkylineAnalysisViewModel {
|
|
|
237
239
|
* @param {*} viewer 三维对象
|
|
238
240
|
* @param {*} option 天际线分析参数对象
|
|
239
241
|
*/
|
|
240
|
-
constructor(
|
|
242
|
+
constructor(scenceView, option, chartStyle) {
|
|
241
243
|
/**
|
|
242
244
|
* 天际线分析逻辑类
|
|
243
245
|
* @param {Object} _skylineAnalysis 天际线分析三维对象
|
|
@@ -246,15 +248,16 @@ class SkylineAnalysisViewModel {
|
|
|
246
248
|
* @param {Object} _options 天际线分析存储参数对象
|
|
247
249
|
* @param {Object} _showLimitHeightBody 限高体是否显示
|
|
248
250
|
*/
|
|
249
|
-
(0,defineProperty/* default */.
|
|
250
|
-
(0,defineProperty/* default */.
|
|
251
|
-
(0,defineProperty/* default */.
|
|
252
|
-
(0,defineProperty/* default */.
|
|
253
|
-
(0,defineProperty/* default */.
|
|
254
|
-
(0,defineProperty/* default */.
|
|
255
|
-
(0,defineProperty/* default */.
|
|
251
|
+
(0,defineProperty/* default */.Z)(this, "_skylineAnalysis", null);
|
|
252
|
+
(0,defineProperty/* default */.Z)(this, "_skylineAnalysisChart", null);
|
|
253
|
+
(0,defineProperty/* default */.Z)(this, "_skylineAnalysisChartTitle", "");
|
|
254
|
+
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
255
|
+
(0,defineProperty/* default */.Z)(this, "_showLimitHeightBody", null);
|
|
256
|
+
(0,defineProperty/* default */.Z)(this, "_chartStyle", null);
|
|
257
|
+
(0,defineProperty/* default */.Z)(this, "_language", {});
|
|
256
258
|
this._language = scenceView._language;
|
|
257
259
|
this._chartStyle = chartStyle;
|
|
260
|
+
let viewer = scenceView._viewer;
|
|
258
261
|
viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
259
262
|
viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
260
263
|
// 创建分析参数对象
|
|
@@ -298,7 +301,7 @@ class SkylineAnalysisViewModel {
|
|
|
298
301
|
this._skylineAnalysis.pickSkyLine();
|
|
299
302
|
this.setSkyline2D();
|
|
300
303
|
} else {
|
|
301
|
-
(0,message/* default */.
|
|
304
|
+
(0,message/* default */.Z)({
|
|
302
305
|
message: this._language["addModelExtractionTips"],
|
|
303
306
|
type: "warning"
|
|
304
307
|
});
|
|
@@ -326,7 +329,7 @@ class SkylineAnalysisViewModel {
|
|
|
326
329
|
this._skylineAnalysis.drawHeightGeo();
|
|
327
330
|
this._skylineAnalysis.viewer.camera.moveBackward(1);
|
|
328
331
|
} else {
|
|
329
|
-
(0,message/* default */.
|
|
332
|
+
(0,message/* default */.Z)({
|
|
330
333
|
message: this._language["addModelExtractionTips"],
|
|
331
334
|
type: "warning"
|
|
332
335
|
});
|
|
@@ -493,11 +496,11 @@ class SkylineAnalysisViewModel {
|
|
|
493
496
|
}
|
|
494
497
|
}
|
|
495
498
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
496
|
-
var client_icons_vue_ = __webpack_require__(
|
|
499
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
497
500
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
498
|
-
var util_ = __webpack_require__(
|
|
501
|
+
var util_ = __webpack_require__(3458);
|
|
499
502
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
500
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
503
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
501
504
|
;// CONCATENATED MODULE: external "echarts"
|
|
502
505
|
var external_echarts_namespaceObject = require("echarts");
|
|
503
506
|
;// 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
|
|
@@ -582,7 +585,7 @@ const __default__ = {
|
|
|
582
585
|
// 获取组件传参
|
|
583
586
|
const props = __props;
|
|
584
587
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
585
|
-
skylineColor: props.settingParams && props.settingParams.skylineColor || "#
|
|
588
|
+
skylineColor: props.settingParams && props.settingParams.skylineColor || "#ff0000",
|
|
586
589
|
// 天际线颜色
|
|
587
590
|
skylineRadius: props.settingParams && props.settingParams.skylineRadius || 1000,
|
|
588
591
|
// 天际线半径
|
|
@@ -590,7 +593,7 @@ const __default__ = {
|
|
|
590
593
|
// 天际线半径范围最小值
|
|
591
594
|
maxSkylineRadius: props.settingParams && props.settingParams.maxSkylineRadius || 5000,
|
|
592
595
|
// 天际线半径范围最大值
|
|
593
|
-
limitHeightBodyColor: props.settingParams && props.settingParams.limitHeightBodyColor || "#
|
|
596
|
+
limitHeightBodyColor: props.settingParams && props.settingParams.limitHeightBodyColor || "#e6a23c",
|
|
594
597
|
// 限高体颜色
|
|
595
598
|
limitHeightBodyAlpha: props.settingParams && props.settingParams.limitHeightBodyAlpha || 0.7,
|
|
596
599
|
// 限高体透明度
|
|
@@ -630,12 +633,12 @@ const __default__ = {
|
|
|
630
633
|
});
|
|
631
634
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
632
635
|
if (scenceView) {
|
|
633
|
-
viewModel = new SkylineAnalysisViewModel(scenceView
|
|
634
|
-
skylineColor: formItem.skylineColor
|
|
635
|
-
skylineRadius: formItem.skylineRadius
|
|
636
|
-
limitHeightBodyColor: formItem.limitHeightBodyColor
|
|
637
|
-
limitHeightBodyAlpha: formItem.limitHeightBodyAlpha
|
|
638
|
-
skylineWidth: formItem.skylineWidth
|
|
636
|
+
viewModel = new SkylineAnalysisViewModel(scenceView, {
|
|
637
|
+
skylineColor: formItem.skylineColor,
|
|
638
|
+
skylineRadius: formItem.skylineRadius,
|
|
639
|
+
limitHeightBodyColor: formItem.limitHeightBodyColor,
|
|
640
|
+
limitHeightBodyAlpha: formItem.limitHeightBodyAlpha,
|
|
641
|
+
skylineWidth: formItem.skylineWidth
|
|
639
642
|
}, setEchartsColor());
|
|
640
643
|
viewModel._skylineAnalysisChartTitle = scenceView._language["skylineAnalysisChartTitle"];
|
|
641
644
|
}
|
|
@@ -946,7 +949,7 @@ const __exports__ = SkylineAnalysisvue_type_script_setup_true_lang_js;
|
|
|
946
949
|
|
|
947
950
|
/* harmony default export */ var SkylineAnalysis = (__exports__);
|
|
948
951
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
949
|
-
var init_js_ = __webpack_require__(
|
|
952
|
+
var init_js_ = __webpack_require__(7997);
|
|
950
953
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
951
954
|
;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/index.js
|
|
952
955
|
/*
|
|
@@ -961,6 +964,7 @@ SkylineAnalysis.install = (Vue, opts) => {
|
|
|
961
964
|
Vue.component(SkylineAnalysis.name, SkylineAnalysis);
|
|
962
965
|
};
|
|
963
966
|
|
|
967
|
+
}();
|
|
964
968
|
/******/ return __webpack_exports__;
|
|
965
969
|
/******/ })()
|
|
966
970
|
;
|