@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
|
@@ -7,13 +7,14 @@
|
|
|
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__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__4822__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
16
|
-
/***/ (function(module) {
|
|
15
|
+
/***/ 9089:
|
|
16
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
17
|
+
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
/*
|
|
@@ -22,51 +23,43 @@ return /******/ (function() { // webpackBootstrap
|
|
|
22
23
|
*/
|
|
23
24
|
// css base code, injected by the css-loader
|
|
24
25
|
// eslint-disable-next-line func-names
|
|
25
|
-
|
|
26
|
+
__webpack_require__(2652);
|
|
27
|
+
__webpack_require__(8224);
|
|
26
28
|
module.exports = function (cssWithMappingToString) {
|
|
27
29
|
var list = []; // return the list of modules as css string
|
|
28
30
|
|
|
29
31
|
list.toString = function toString() {
|
|
30
32
|
return this.map(function (item) {
|
|
31
33
|
var content = cssWithMappingToString(item);
|
|
32
|
-
|
|
33
34
|
if (item[2]) {
|
|
34
35
|
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
35
36
|
}
|
|
36
|
-
|
|
37
37
|
return content;
|
|
38
38
|
}).join("");
|
|
39
39
|
}; // import a list of modules into the list
|
|
40
40
|
// eslint-disable-next-line func-names
|
|
41
41
|
|
|
42
|
-
|
|
43
42
|
list.i = function (modules, mediaQuery, dedupe) {
|
|
44
43
|
if (typeof modules === "string") {
|
|
45
44
|
// eslint-disable-next-line no-param-reassign
|
|
46
45
|
modules = [[null, modules, ""]];
|
|
47
46
|
}
|
|
48
|
-
|
|
49
47
|
var alreadyImportedModules = {};
|
|
50
|
-
|
|
51
48
|
if (dedupe) {
|
|
52
49
|
for (var i = 0; i < this.length; i++) {
|
|
53
50
|
// eslint-disable-next-line prefer-destructuring
|
|
54
51
|
var id = this[i][0];
|
|
55
|
-
|
|
56
52
|
if (id != null) {
|
|
57
53
|
alreadyImportedModules[id] = true;
|
|
58
54
|
}
|
|
59
55
|
}
|
|
60
56
|
}
|
|
61
|
-
|
|
62
57
|
for (var _i = 0; _i < modules.length; _i++) {
|
|
63
58
|
var item = [].concat(modules[_i]);
|
|
64
|
-
|
|
65
59
|
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
66
60
|
// eslint-disable-next-line no-continue
|
|
67
61
|
continue;
|
|
68
62
|
}
|
|
69
|
-
|
|
70
63
|
if (mediaQuery) {
|
|
71
64
|
if (!item[2]) {
|
|
72
65
|
item[2] = mediaQuery;
|
|
@@ -74,20 +67,18 @@ module.exports = function (cssWithMappingToString) {
|
|
|
74
67
|
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
75
68
|
}
|
|
76
69
|
}
|
|
77
|
-
|
|
78
70
|
list.push(item);
|
|
79
71
|
}
|
|
80
72
|
};
|
|
81
|
-
|
|
82
73
|
return list;
|
|
83
74
|
};
|
|
84
75
|
|
|
85
76
|
/***/ }),
|
|
86
77
|
|
|
87
|
-
/***/
|
|
78
|
+
/***/ 7667:
|
|
88
79
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
89
80
|
|
|
90
|
-
/* 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__(9089);
|
|
91
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__);
|
|
92
83
|
// Imports
|
|
93
84
|
|
|
@@ -95,12 +86,12 @@ var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBP
|
|
|
95
86
|
// Module
|
|
96
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)}", ""]);
|
|
97
88
|
// Exports
|
|
98
|
-
/* harmony default export */ __webpack_exports__
|
|
89
|
+
/* harmony default export */ __webpack_exports__.A = (___CSS_LOADER_EXPORT___);
|
|
99
90
|
|
|
100
91
|
|
|
101
92
|
/***/ }),
|
|
102
93
|
|
|
103
|
-
/***/
|
|
94
|
+
/***/ 5072:
|
|
104
95
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
105
96
|
|
|
106
97
|
|
|
@@ -375,83 +366,129 @@ module.exports = function (list, options) {
|
|
|
375
366
|
|
|
376
367
|
/***/ }),
|
|
377
368
|
|
|
378
|
-
/***/
|
|
369
|
+
/***/ 5698:
|
|
379
370
|
/***/ (function(module) {
|
|
380
371
|
|
|
381
372
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
382
373
|
|
|
383
374
|
/***/ }),
|
|
384
375
|
|
|
385
|
-
/***/
|
|
376
|
+
/***/ 2652:
|
|
386
377
|
/***/ (function(module) {
|
|
387
378
|
|
|
388
|
-
module.exports = require("core-js/modules/es.array.
|
|
379
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
389
380
|
|
|
390
381
|
/***/ }),
|
|
391
382
|
|
|
392
|
-
/***/
|
|
383
|
+
/***/ 3658:
|
|
384
|
+
/***/ (function(module) {
|
|
385
|
+
|
|
386
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
387
|
+
|
|
388
|
+
/***/ }),
|
|
389
|
+
|
|
390
|
+
/***/ 8224:
|
|
391
|
+
/***/ (function(module) {
|
|
392
|
+
|
|
393
|
+
module.exports = require("core-js/modules/esnext.iterator.map.js");
|
|
394
|
+
|
|
395
|
+
/***/ }),
|
|
396
|
+
|
|
397
|
+
/***/ 3579:
|
|
393
398
|
/***/ (function(module) {
|
|
394
399
|
|
|
395
400
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
396
401
|
|
|
397
402
|
/***/ }),
|
|
398
403
|
|
|
399
|
-
/***/
|
|
404
|
+
/***/ 4822:
|
|
400
405
|
/***/ (function(module) {
|
|
401
406
|
|
|
402
|
-
module.exports =
|
|
407
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4822__;
|
|
403
408
|
|
|
404
409
|
/***/ }),
|
|
405
410
|
|
|
406
|
-
/***/
|
|
411
|
+
/***/ 64:
|
|
407
412
|
/***/ (function(module) {
|
|
408
413
|
|
|
409
|
-
module.exports =
|
|
414
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
410
415
|
|
|
411
416
|
/***/ }),
|
|
412
417
|
|
|
413
|
-
/***/
|
|
418
|
+
/***/ 2975:
|
|
414
419
|
/***/ (function(module) {
|
|
415
420
|
|
|
416
|
-
module.exports =
|
|
421
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
417
422
|
|
|
418
423
|
/***/ }),
|
|
419
424
|
|
|
420
|
-
/***/
|
|
425
|
+
/***/ 455:
|
|
421
426
|
/***/ (function(module) {
|
|
422
427
|
|
|
423
|
-
module.exports =
|
|
428
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
424
429
|
|
|
425
430
|
/***/ }),
|
|
426
431
|
|
|
427
|
-
/***/
|
|
432
|
+
/***/ 154:
|
|
428
433
|
/***/ (function(module) {
|
|
429
434
|
|
|
430
|
-
module.exports =
|
|
435
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
431
436
|
|
|
432
437
|
/***/ }),
|
|
433
438
|
|
|
434
|
-
/***/
|
|
439
|
+
/***/ 6913:
|
|
435
440
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
436
441
|
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
function
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
442
|
+
|
|
443
|
+
// EXPORTS
|
|
444
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
445
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
446
|
+
});
|
|
447
|
+
|
|
448
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
449
|
+
function _typeof(o) {
|
|
450
|
+
"@babel/helpers - typeof";
|
|
451
|
+
|
|
452
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
453
|
+
return typeof o;
|
|
454
|
+
} : function (o) {
|
|
455
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
456
|
+
}, _typeof(o);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
460
|
+
|
|
461
|
+
function toPrimitive(t, r) {
|
|
462
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
463
|
+
var e = t[Symbol.toPrimitive];
|
|
464
|
+
if (void 0 !== e) {
|
|
465
|
+
var i = e.call(t, r || "default");
|
|
466
|
+
if ("object" != _typeof(i)) return i;
|
|
467
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
450
468
|
}
|
|
469
|
+
return ("string" === r ? String : Number)(t);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
451
473
|
|
|
452
|
-
|
|
474
|
+
|
|
475
|
+
function toPropertyKey(t) {
|
|
476
|
+
var i = toPrimitive(t, "string");
|
|
477
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
453
478
|
}
|
|
454
479
|
|
|
480
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
481
|
+
|
|
482
|
+
function _defineProperty(e, r, t) {
|
|
483
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
484
|
+
value: t,
|
|
485
|
+
enumerable: !0,
|
|
486
|
+
configurable: !0,
|
|
487
|
+
writable: !0
|
|
488
|
+
}) : e[r] = t, e;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
|
|
455
492
|
/***/ })
|
|
456
493
|
|
|
457
494
|
/******/ });
|
|
@@ -528,30 +565,32 @@ function _defineProperty(obj, key, value) {
|
|
|
528
565
|
/******/
|
|
529
566
|
/************************************************************************/
|
|
530
567
|
var __webpack_exports__ = {};
|
|
531
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
532
|
-
!function() {
|
|
533
568
|
// ESM COMPAT FLAG
|
|
534
569
|
__webpack_require__.r(__webpack_exports__);
|
|
535
570
|
|
|
536
571
|
// EXPORTS
|
|
537
572
|
__webpack_require__.d(__webpack_exports__, {
|
|
538
|
-
|
|
573
|
+
SightlineAnalysisViewModel: function() { return /* reexport */ SightlineAnalysisViewModel; },
|
|
539
574
|
"default": function() { return /* reexport */ SightlineAnalysis; }
|
|
540
575
|
});
|
|
541
576
|
|
|
542
577
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
543
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
578
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
544
579
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
545
|
-
var gis_utils_ = __webpack_require__(
|
|
546
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
547
|
-
var defineProperty = __webpack_require__(
|
|
548
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.
|
|
549
|
-
var
|
|
580
|
+
var gis_utils_ = __webpack_require__(64);
|
|
581
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
582
|
+
var defineProperty = __webpack_require__(6913);
|
|
583
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
584
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
585
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
586
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(3658);
|
|
587
|
+
;// CONCATENATED MODULE: external "core-js/modules/esnext.iterator.some.js"
|
|
588
|
+
var esnext_iterator_some_js_namespaceObject = require("core-js/modules/esnext.iterator.some.js");
|
|
550
589
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
551
|
-
var injectStylesIntoStyleTag = __webpack_require__(
|
|
590
|
+
var injectStylesIntoStyleTag = __webpack_require__(5072);
|
|
552
591
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
553
592
|
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/webgl/sightlineanalysis/style/divpoint.scss
|
|
554
|
-
var divpoint = __webpack_require__(
|
|
593
|
+
var divpoint = __webpack_require__(7667);
|
|
555
594
|
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/style/divpoint.scss
|
|
556
595
|
|
|
557
596
|
|
|
@@ -561,109 +600,90 @@ var options = {};
|
|
|
561
600
|
options.insert = "head";
|
|
562
601
|
options.singleton = false;
|
|
563
602
|
|
|
564
|
-
var update = injectStylesIntoStyleTag_default()(divpoint/* default */.
|
|
603
|
+
var update = injectStylesIntoStyleTag_default()(divpoint/* default */.A, options);
|
|
565
604
|
|
|
566
605
|
|
|
567
606
|
|
|
568
|
-
/* harmony default export */ var style_divpoint = (divpoint/* default
|
|
607
|
+
/* harmony default export */ var style_divpoint = (divpoint/* default */.A.locals || {});
|
|
569
608
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
570
|
-
var const_image_ = __webpack_require__(
|
|
609
|
+
var const_image_ = __webpack_require__(4822);
|
|
571
610
|
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/SightlineAnalysisViewModel.js
|
|
572
611
|
|
|
573
612
|
|
|
574
613
|
|
|
575
|
-
//通视分析逻辑类
|
|
576
614
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
//绘制完成监听事件
|
|
582
|
-
//障碍物颜色
|
|
583
|
-
//是否显示标注
|
|
584
|
-
//添加的点的类型
|
|
585
|
-
//创建的divpoint集合
|
|
586
|
-
//拾取的点位集合
|
|
587
|
-
//高亮的障碍物的id集合
|
|
588
|
-
// 点位图标billboards集合
|
|
589
|
-
constructor(scenceView, options, language) {
|
|
590
|
-
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
591
|
-
|
|
592
|
-
(0,defineProperty/* default */.Z)(this, "_sightlineAnalysis", null);
|
|
593
|
-
|
|
594
|
-
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
595
|
-
|
|
596
|
-
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
597
|
-
|
|
598
|
-
(0,defineProperty/* default */.Z)(this, "_obstacleColor", Cesium.Color.RED);
|
|
599
|
-
|
|
600
|
-
(0,defineProperty/* default */.Z)(this, "_isLabel", false);
|
|
601
|
-
|
|
602
|
-
(0,defineProperty/* default */.Z)(this, "_addType", 0);
|
|
603
|
-
|
|
604
|
-
(0,defineProperty/* default */.Z)(this, "_pointCollection", []);
|
|
605
|
-
|
|
606
|
-
(0,defineProperty/* default */.Z)(this, "_cartographicList", []);
|
|
607
|
-
|
|
608
|
-
(0,defineProperty/* default */.Z)(this, "_highlightIds", []);
|
|
609
|
-
|
|
610
|
-
(0,defineProperty/* default */.Z)(this, "_billboards", []);
|
|
615
|
+
/*
|
|
616
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
617
|
+
* All rights reserved.
|
|
618
|
+
*/
|
|
611
619
|
|
|
612
|
-
(0,defineProperty/* default */.Z)(this, "_language", null);
|
|
613
620
|
|
|
621
|
+
//通视分析逻辑类
|
|
622
|
+
class SightlineAnalysisViewModel {
|
|
623
|
+
constructor(scenceView, options, language) {
|
|
624
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
625
|
+
//三维viewer对象
|
|
626
|
+
(0,defineProperty/* default */.A)(this, "_sightlineAnalysis", null);
|
|
627
|
+
//通视分析三维对象
|
|
628
|
+
(0,defineProperty/* default */.A)(this, "_drawManager", null);
|
|
629
|
+
//绘制管理对象
|
|
630
|
+
(0,defineProperty/* default */.A)(this, "_removeEventListener", null);
|
|
631
|
+
//绘制完成监听事件
|
|
632
|
+
(0,defineProperty/* default */.A)(this, "_obstacleColor", Cesium.Color.RED);
|
|
633
|
+
//障碍物颜色
|
|
634
|
+
(0,defineProperty/* default */.A)(this, "_isLabel", false);
|
|
635
|
+
//是否显示标注
|
|
636
|
+
(0,defineProperty/* default */.A)(this, "_addType", 0);
|
|
637
|
+
//添加的点的类型
|
|
638
|
+
(0,defineProperty/* default */.A)(this, "_pointCollection", []);
|
|
639
|
+
//创建的divpoint集合
|
|
640
|
+
(0,defineProperty/* default */.A)(this, "_cartographicList", []);
|
|
641
|
+
//拾取的点位集合
|
|
642
|
+
(0,defineProperty/* default */.A)(this, "_highlightIds", []);
|
|
643
|
+
//高亮的障碍物的id集合
|
|
644
|
+
(0,defineProperty/* default */.A)(this, "_billboards", []);
|
|
645
|
+
// 点位图标billboards集合
|
|
646
|
+
(0,defineProperty/* default */.A)(this, "_language", null);
|
|
614
647
|
this._viewer = scenceView._viewer;
|
|
615
648
|
this._viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
616
649
|
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
617
|
-
|
|
618
650
|
this._language = language;
|
|
619
651
|
options.viewer = this._viewer;
|
|
620
|
-
|
|
621
652
|
if (options.visibleColor) {
|
|
622
653
|
options.visibleColor = Cesium.Color.fromCssColorString(options.visibleColor);
|
|
623
654
|
}
|
|
624
|
-
|
|
625
655
|
if (options.visibleColor) {
|
|
626
656
|
options.invisibleColor = Cesium.Color.fromCssColorString(options.invisibleColor);
|
|
627
657
|
}
|
|
628
|
-
|
|
629
658
|
if (options.obstacleColor) {
|
|
630
659
|
this._obstacleColor = Cesium.Color.fromCssColorString(options.obstacleColor);
|
|
631
660
|
}
|
|
632
|
-
|
|
633
661
|
this._isLabel = options.isLabel;
|
|
634
662
|
options.isLabel = false;
|
|
635
663
|
this._sightlineAnalysis = new Cesium.Kq3dSightAnalysis(options);
|
|
636
664
|
this._drawManager = scenceView._drawManager;
|
|
637
|
-
|
|
638
665
|
this._drawManager.enableMultiDraw(true);
|
|
639
|
-
|
|
640
666
|
let that = this;
|
|
641
667
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
642
668
|
if (shape && shape.type === "marker") {
|
|
643
669
|
that.createBillboard(shape.position);
|
|
644
|
-
|
|
645
670
|
if (that._addType === 1) {
|
|
646
671
|
that._sightlineAnalysis.setSeePoint(shape.position);
|
|
647
|
-
|
|
648
672
|
that.clearDisplay();
|
|
649
673
|
that.createLabels(that._sightlineAnalysis._pickedPos);
|
|
650
674
|
that.highlightObstacles(that._sightlineAnalysis._pickedFeatures);
|
|
651
675
|
} else if (that._addType === 2) {
|
|
652
676
|
let result = that._sightlineAnalysis.addTargetPoint(shape.position);
|
|
653
|
-
|
|
654
677
|
that.createLabels(result.cartographic);
|
|
655
678
|
that.highlightObstacles(result.id);
|
|
656
679
|
}
|
|
657
|
-
|
|
658
680
|
that._drawManager.clear();
|
|
659
681
|
}
|
|
660
682
|
});
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
|
|
683
|
+
}
|
|
684
|
+
// 创建图标
|
|
664
685
|
createBillboard(pos) {
|
|
665
686
|
if (this._addType == 1) this.clearBillboards("marker" + this._addType);
|
|
666
|
-
|
|
667
687
|
this._billboards.push(this._viewer.entities.add({
|
|
668
688
|
position: pos,
|
|
669
689
|
name: "marker" + this._addType,
|
|
@@ -673,9 +693,8 @@ class SightlineAnalysisViewModel {
|
|
|
673
693
|
disableDepthTestDistance: Number.POSITIVE_INFINITY
|
|
674
694
|
}
|
|
675
695
|
}));
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
|
|
696
|
+
}
|
|
697
|
+
//创建点位置
|
|
679
698
|
createDivPoint(position) {
|
|
680
699
|
if (position) {
|
|
681
700
|
var longitude = Cesium.Math.toDegrees(position.longitude).toFixed(5);
|
|
@@ -700,11 +719,9 @@ class SightlineAnalysisViewModel {
|
|
|
700
719
|
<span class="triangle"></span>
|
|
701
720
|
</div>`;
|
|
702
721
|
html = html.replace('{X}', longitude).replace('{Y}', latitude).replace('{Z}', height);
|
|
703
|
-
|
|
704
722
|
if (this._language) {
|
|
705
723
|
html = html.replace('X', this._language.value.longitude).replace('Y', this._language.value.latitude).replace('Z', this._language.value.elevation);
|
|
706
724
|
}
|
|
707
|
-
|
|
708
725
|
var divpoint = new Cesium.Kq3dHtmlTag(this._viewer, {
|
|
709
726
|
html: html,
|
|
710
727
|
position: position,
|
|
@@ -712,16 +729,14 @@ class SightlineAnalysisViewModel {
|
|
|
712
729
|
alignmentMode: 7,
|
|
713
730
|
noEvent: true
|
|
714
731
|
});
|
|
715
|
-
|
|
716
732
|
if (!this._isLabel) {
|
|
717
733
|
divpoint.setVisible(false);
|
|
718
734
|
}
|
|
719
|
-
|
|
720
735
|
this._pointCollection.push(divpoint);
|
|
721
736
|
}
|
|
722
|
-
}
|
|
723
|
-
|
|
737
|
+
}
|
|
724
738
|
|
|
739
|
+
//创建label标签
|
|
725
740
|
createLabels(positions) {
|
|
726
741
|
for (let i = 0; i < positions.length; i++) {
|
|
727
742
|
let include = this._cartographicList.some(item => {
|
|
@@ -729,20 +744,17 @@ class SightlineAnalysisViewModel {
|
|
|
729
744
|
return true;
|
|
730
745
|
}
|
|
731
746
|
});
|
|
732
|
-
|
|
733
747
|
if (!include) {
|
|
734
748
|
this.createDivPoint(positions[i]);
|
|
735
749
|
}
|
|
736
750
|
}
|
|
737
|
-
|
|
738
751
|
this._cartographicList = [].concat(positions);
|
|
739
|
-
}
|
|
740
|
-
|
|
752
|
+
}
|
|
741
753
|
|
|
754
|
+
//设置3DTileset颜色
|
|
742
755
|
set3DTilesetColor(color, ids) {
|
|
743
756
|
if (!ids) ids = [];
|
|
744
757
|
let primitives = this._viewer.scene.primitives._primitives;
|
|
745
|
-
|
|
746
758
|
for (let i = 0; i < primitives.length; i++) {
|
|
747
759
|
if (primitives[i] instanceof Cesium.Cesium3DTileset) {
|
|
748
760
|
primitives[i].style = new Cesium.Cesium3DTileStyle({
|
|
@@ -755,51 +767,47 @@ class SightlineAnalysisViewModel {
|
|
|
755
767
|
});
|
|
756
768
|
}
|
|
757
769
|
}
|
|
758
|
-
}
|
|
759
|
-
|
|
770
|
+
}
|
|
760
771
|
|
|
772
|
+
//高亮障碍物
|
|
761
773
|
highlightObstacles(ids) {
|
|
762
774
|
if (!ids || ids.length === 0) return;
|
|
763
775
|
this._highlightIds = ids;
|
|
764
776
|
this.set3DTilesetColor(this._obstacleColor, ids);
|
|
765
|
-
}
|
|
766
|
-
|
|
777
|
+
}
|
|
767
778
|
|
|
779
|
+
//清除所有高亮效果
|
|
768
780
|
clearHighlights() {
|
|
769
781
|
this._highlightIds = [];
|
|
770
782
|
this.set3DTilesetColor(Cesium.Color.WHITE);
|
|
771
|
-
}
|
|
772
|
-
|
|
783
|
+
}
|
|
773
784
|
|
|
785
|
+
//添加观察点
|
|
774
786
|
addSeePoint() {
|
|
775
787
|
this._addType = 1;
|
|
776
|
-
|
|
777
788
|
this._drawManager.startDraw("point", {
|
|
778
789
|
image: const_image_.OBSERVATION_POINT
|
|
779
790
|
});
|
|
780
|
-
}
|
|
781
|
-
|
|
791
|
+
}
|
|
782
792
|
|
|
793
|
+
//添加目标点
|
|
783
794
|
addTargetPoint() {
|
|
784
795
|
if (!this._sightlineAnalysis._seePoint) return;
|
|
785
796
|
this._addType = 2;
|
|
786
|
-
|
|
787
797
|
this._drawManager.startDraw("point", {
|
|
788
798
|
image: const_image_.TARGET_POINT
|
|
789
799
|
});
|
|
790
|
-
}
|
|
791
|
-
|
|
800
|
+
}
|
|
792
801
|
|
|
802
|
+
//清除显示结果
|
|
793
803
|
clearDisplay() {
|
|
794
804
|
//清除标注
|
|
795
805
|
for (var i = 0; i < this._pointCollection.length; i++) {
|
|
796
806
|
this._pointCollection[i].destroy();
|
|
797
807
|
}
|
|
798
|
-
|
|
799
808
|
this._pointCollection = [];
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
|
|
809
|
+
}
|
|
810
|
+
// 清楚billboards
|
|
803
811
|
clearBillboards(val) {
|
|
804
812
|
for (var i = 0; i < this._billboards.length; i++) {
|
|
805
813
|
if (val) {
|
|
@@ -808,72 +816,62 @@ class SightlineAnalysisViewModel {
|
|
|
808
816
|
this._viewer.entities.remove(this._billboards[i]);
|
|
809
817
|
}
|
|
810
818
|
}
|
|
811
|
-
|
|
812
819
|
if (!val) this._billboards = [];
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
|
|
820
|
+
}
|
|
821
|
+
//清除全部
|
|
816
822
|
clearAll() {
|
|
817
823
|
this._drawManager.stopDraw();
|
|
818
|
-
|
|
819
824
|
this.clearDisplay();
|
|
820
825
|
this.clearHighlights();
|
|
821
826
|
this.clearBillboards();
|
|
822
827
|
this._sightlineAnalysis && this._sightlineAnalysis.remove();
|
|
823
|
-
}
|
|
824
|
-
|
|
828
|
+
}
|
|
825
829
|
|
|
830
|
+
//销毁
|
|
826
831
|
destroy() {
|
|
827
|
-
this.clearAll();
|
|
828
|
-
|
|
832
|
+
this.clearAll();
|
|
833
|
+
//销毁分析对象
|
|
829
834
|
this._sightlineAnalysis && this._sightlineAnalysis.destroy();
|
|
830
|
-
this._sightlineAnalysis = null;
|
|
831
|
-
|
|
835
|
+
this._sightlineAnalysis = null;
|
|
836
|
+
//移除监听事件
|
|
832
837
|
this._removeEventListener && this._removeEventListener();
|
|
833
838
|
this._removeEventListener = null;
|
|
834
|
-
|
|
835
839
|
this._drawManager.enableMultiDraw(false);
|
|
836
|
-
}
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
// //设置线宽
|
|
837
843
|
// setLineWidth(lineWith) {
|
|
838
844
|
// this._sightlineAnalysis.lineWith = Number(lineWith);
|
|
839
845
|
// }
|
|
840
846
|
//设置可视颜色
|
|
841
|
-
|
|
842
|
-
|
|
843
847
|
setVisibleColor(visibleColor) {
|
|
844
848
|
this._sightlineAnalysis.visibleColor = Cesium.Color.fromCssColorString(visibleColor);
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
|
|
849
|
+
}
|
|
850
|
+
//设置不可视颜色
|
|
848
851
|
setInvisibleColor(invisibleColor) {
|
|
849
852
|
this._sightlineAnalysis.invisibleColor = Cesium.Color.fromCssColorString(invisibleColor);
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
|
|
853
|
+
}
|
|
854
|
+
//设置障碍物颜色
|
|
853
855
|
setObstacleColor(obstacleColor) {
|
|
854
856
|
this._obstacleColor = Cesium.Color.fromCssColorString(obstacleColor);
|
|
855
|
-
|
|
856
857
|
if (this._highlightIds.length > 0) {
|
|
857
858
|
this.set3DTilesetColor(this._obstacleColor, this._highlightIds);
|
|
858
859
|
}
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
|
|
860
|
+
}
|
|
861
|
+
//显示/隐藏标注
|
|
862
862
|
setShowLabel(isLabel) {
|
|
863
863
|
this._isLabel = isLabel;
|
|
864
|
-
|
|
865
864
|
for (var i = 0; i < this._pointCollection.length; i++) {
|
|
866
865
|
this._pointCollection[i].setVisible(isLabel);
|
|
867
866
|
}
|
|
868
867
|
}
|
|
869
|
-
|
|
870
868
|
}
|
|
871
869
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
872
|
-
var client_icons_vue_ = __webpack_require__(
|
|
870
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
873
871
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
874
|
-
var util_ = __webpack_require__(
|
|
872
|
+
var util_ = __webpack_require__(2975);
|
|
875
873
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
876
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
874
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
877
875
|
;// 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
|
|
878
876
|
|
|
879
877
|
const _hoisted_1 = {
|
|
@@ -891,7 +889,7 @@ const _hoisted_2 = {
|
|
|
891
889
|
const __default__ = {
|
|
892
890
|
name: "Kq3dSightlineAnalysis"
|
|
893
891
|
};
|
|
894
|
-
/* harmony default export */ var SightlineAnalysisvue_type_script_setup_true_lang_js = (
|
|
892
|
+
/* harmony default export */ var SightlineAnalysisvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
895
893
|
props: {
|
|
896
894
|
// 设置参数
|
|
897
895
|
settingParams: {
|
|
@@ -902,7 +900,6 @@ const __default__ = {
|
|
|
902
900
|
type: Boolean,
|
|
903
901
|
default: true
|
|
904
902
|
},
|
|
905
|
-
|
|
906
903
|
/**
|
|
907
904
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
908
905
|
*/
|
|
@@ -932,14 +929,14 @@ const __default__ = {
|
|
|
932
929
|
default: true
|
|
933
930
|
}
|
|
934
931
|
},
|
|
935
|
-
|
|
936
932
|
setup(__props, {
|
|
937
933
|
expose: __expose
|
|
938
934
|
}) {
|
|
939
|
-
const props = __props;
|
|
940
935
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
941
|
-
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
936
|
+
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
942
937
|
|
|
938
|
+
// 获取组件传参
|
|
939
|
+
const props = __props;
|
|
943
940
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
944
941
|
// lineWidth: (props.settingParams && props.settingParams.lineWidth) || 2,
|
|
945
942
|
visibleColor: props.settingParams && props.settingParams.visibleColor || "#67c23a",
|
|
@@ -949,13 +946,16 @@ const __default__ = {
|
|
|
949
946
|
highlightObstacle: props.settingParams && props.settingParams.highlightObstacle !== undefined || false,
|
|
950
947
|
isLabel: props.settingParams && props.settingParams.isLabel !== undefined || true
|
|
951
948
|
});
|
|
952
|
-
let viewModel = null;
|
|
949
|
+
let viewModel = null;
|
|
953
950
|
|
|
954
|
-
|
|
951
|
+
// 组件容器Ref
|
|
952
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
955
953
|
|
|
954
|
+
// 生成组件默认header
|
|
956
955
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
957
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
956
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
958
957
|
|
|
958
|
+
// 国际化
|
|
959
959
|
let {
|
|
960
960
|
locale,
|
|
961
961
|
messages
|
|
@@ -973,8 +973,9 @@ const __default__ = {
|
|
|
973
973
|
watchCreateHeaderTemp();
|
|
974
974
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
975
975
|
watchCreateHeaderTemp();
|
|
976
|
-
});
|
|
976
|
+
});
|
|
977
977
|
|
|
978
|
+
//父组件ScenceView初始化完成后执行
|
|
978
979
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
979
980
|
if (scenceView) {
|
|
980
981
|
let options = {
|
|
@@ -991,14 +992,12 @@ const __default__ = {
|
|
|
991
992
|
/**
|
|
992
993
|
* @description 监听header生成
|
|
993
994
|
*/
|
|
994
|
-
|
|
995
995
|
const watchCreateHeaderTemp = () => {
|
|
996
996
|
if (props.showHeaderTemp) {
|
|
997
997
|
// 生成headerTemp
|
|
998
998
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
999
999
|
}
|
|
1000
1000
|
};
|
|
1001
|
-
|
|
1002
1001
|
function paramsChanged(key) {
|
|
1003
1002
|
switch (key) {
|
|
1004
1003
|
// case "lineWidth":
|
|
@@ -1007,68 +1006,54 @@ const __default__ = {
|
|
|
1007
1006
|
case "visibleColor":
|
|
1008
1007
|
viewModel.setVisibleColor(formItem.visibleColor);
|
|
1009
1008
|
break;
|
|
1010
|
-
|
|
1011
1009
|
case "invisibleColor":
|
|
1012
1010
|
viewModel.setInvisibleColor(formItem.invisibleColor);
|
|
1013
1011
|
break;
|
|
1014
|
-
|
|
1015
1012
|
case "obstacleColor":
|
|
1016
1013
|
viewModel.setObstacleColor(formItem.obstacleColor);
|
|
1017
1014
|
break;
|
|
1018
|
-
|
|
1019
1015
|
case "isLabel":
|
|
1020
1016
|
viewModel.setShowLabel(formItem.isLabel);
|
|
1021
1017
|
break;
|
|
1022
|
-
|
|
1023
1018
|
default:
|
|
1024
1019
|
break;
|
|
1025
1020
|
}
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1021
|
+
}
|
|
1028
1022
|
|
|
1023
|
+
//添加观察点
|
|
1029
1024
|
function addSeePoint() {
|
|
1030
1025
|
viewModel && viewModel.addSeePoint();
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1026
|
+
}
|
|
1033
1027
|
|
|
1028
|
+
//添加目标点
|
|
1034
1029
|
function addTargetPoint() {
|
|
1035
1030
|
viewModel && viewModel.addTargetPoint();
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1031
|
+
}
|
|
1038
1032
|
|
|
1033
|
+
//清除结果
|
|
1039
1034
|
function clearResult() {
|
|
1040
1035
|
viewModel && viewModel.clearAll();
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1036
|
+
}
|
|
1043
1037
|
|
|
1038
|
+
// 销毁
|
|
1044
1039
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
1045
1040
|
viewModel && viewModel.destroy();
|
|
1046
1041
|
});
|
|
1047
|
-
|
|
1048
1042
|
__expose({
|
|
1049
1043
|
paramsChanged,
|
|
1050
1044
|
addSeePoint,
|
|
1051
1045
|
addTargetPoint,
|
|
1052
1046
|
clearResult
|
|
1053
1047
|
});
|
|
1054
|
-
|
|
1055
1048
|
return (_ctx, _cache) => {
|
|
1056
1049
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
1057
|
-
|
|
1058
1050
|
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
1059
|
-
|
|
1060
1051
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
1061
|
-
|
|
1062
1052
|
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
|
|
1063
|
-
|
|
1064
1053
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
1065
|
-
|
|
1066
1054
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
1067
|
-
|
|
1068
1055
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
1069
|
-
|
|
1070
1056
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
1071
|
-
|
|
1072
1057
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
1073
1058
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-sightline-analysis", {
|
|
1074
1059
|
'kq-box-shadow': __props.showShadow
|
|
@@ -1079,17 +1064,11 @@ const __default__ = {
|
|
|
1079
1064
|
key: 0,
|
|
1080
1065
|
ref_key: "headerTempRef",
|
|
1081
1066
|
ref: headerTempRef
|
|
1082
|
-
}, null, 512
|
|
1083
|
-
/* NEED_PATCH */
|
|
1084
|
-
)) : (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_row, {
|
|
1067
|
+
}, 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_row, {
|
|
1085
1068
|
class: "kq3d-sightline-analysis-tip"
|
|
1086
1069
|
}, {
|
|
1087
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sightTips), 1
|
|
1088
|
-
/*
|
|
1089
|
-
)]),
|
|
1090
|
-
_: 1
|
|
1091
|
-
/* STABLE */
|
|
1092
|
-
|
|
1070
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sightTips), 1 /* TEXT */)]),
|
|
1071
|
+
_: 1 /* STABLE */
|
|
1093
1072
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
1094
1073
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue)
|
|
1095
1074
|
}, {
|
|
@@ -1109,18 +1088,10 @@ const __default__ = {
|
|
|
1109
1088
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor,
|
|
1110
1089
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor = $event),
|
|
1111
1090
|
onChange: _cache[1] || (_cache[1] = $event => paramsChanged('visibleColor'))
|
|
1112
|
-
}, null, 8
|
|
1113
|
-
/*
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
/* STABLE */
|
|
1117
|
-
|
|
1118
|
-
}, 8
|
|
1119
|
-
/* PROPS */
|
|
1120
|
-
, ["label"])]),
|
|
1121
|
-
_: 1
|
|
1122
|
-
/* STABLE */
|
|
1123
|
-
|
|
1091
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1092
|
+
_: 1 /* STABLE */
|
|
1093
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1094
|
+
_: 1 /* STABLE */
|
|
1124
1095
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1125
1096
|
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, {
|
|
1126
1097
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).invisibleColor
|
|
@@ -1129,18 +1100,10 @@ const __default__ = {
|
|
|
1129
1100
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor,
|
|
1130
1101
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor = $event),
|
|
1131
1102
|
onChange: _cache[3] || (_cache[3] = $event => paramsChanged('invisibleColor'))
|
|
1132
|
-
}, null, 8
|
|
1133
|
-
/*
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
/* STABLE */
|
|
1137
|
-
|
|
1138
|
-
}, 8
|
|
1139
|
-
/* PROPS */
|
|
1140
|
-
, ["label"])]),
|
|
1141
|
-
_: 1
|
|
1142
|
-
/* STABLE */
|
|
1143
|
-
|
|
1103
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1104
|
+
_: 1 /* STABLE */
|
|
1105
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1106
|
+
_: 1 /* STABLE */
|
|
1144
1107
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1145
1108
|
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, {
|
|
1146
1109
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).obstacleColor
|
|
@@ -1149,96 +1112,49 @@ const __default__ = {
|
|
|
1149
1112
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).obstacleColor,
|
|
1150
1113
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).obstacleColor = $event),
|
|
1151
1114
|
onChange: _cache[5] || (_cache[5] = $event => paramsChanged('obstacleColor'))
|
|
1152
|
-
}, null, 8
|
|
1153
|
-
/*
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
/* STABLE */
|
|
1157
|
-
|
|
1158
|
-
}, 8
|
|
1159
|
-
/* PROPS */
|
|
1160
|
-
, ["label"])]),
|
|
1161
|
-
_: 1
|
|
1162
|
-
/* STABLE */
|
|
1163
|
-
|
|
1115
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1116
|
+
_: 1 /* STABLE */
|
|
1117
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1118
|
+
_: 1 /* STABLE */
|
|
1164
1119
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row style=\"display: flex\">\r\n <kq-col :span=\"12\">\r\n <kq-checkbox v-model=\"formItem.obstaclePoint\">{{ language.obstaclePoint }}</kq-checkbox>\r\n </kq-col>\r\n <kq-col :span=\"12\">\r\n <kq-checkbox v-model=\"formItem.highlightObstacle\">{{ language.highlightObstacle }}</kq-checkbox>\r\n </kq-col>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1165
1120
|
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_checkbox, {
|
|
1166
1121
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isLabel,
|
|
1167
1122
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isLabel = $event),
|
|
1168
1123
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('isLabel'))
|
|
1169
1124
|
}, {
|
|
1170
|
-
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).showLabel), 1
|
|
1171
|
-
/*
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
/* STABLE */
|
|
1175
|
-
|
|
1176
|
-
}, 8
|
|
1177
|
-
/* PROPS */
|
|
1178
|
-
, ["modelValue"])]),
|
|
1179
|
-
_: 1
|
|
1180
|
-
/* STABLE */
|
|
1181
|
-
|
|
1125
|
+
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).showLabel), 1 /* TEXT */)]),
|
|
1126
|
+
_: 1 /* STABLE */
|
|
1127
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
1128
|
+
_: 1 /* STABLE */
|
|
1182
1129
|
})]),
|
|
1183
|
-
_: 1
|
|
1184
|
-
/* STABLE */
|
|
1185
|
-
|
|
1130
|
+
_: 1 /* STABLE */
|
|
1186
1131
|
})]),
|
|
1187
|
-
_: 1
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
/* PROPS */
|
|
1192
|
-
, ["title"])]),
|
|
1193
|
-
_: 1
|
|
1194
|
-
/* STABLE */
|
|
1195
|
-
|
|
1196
|
-
}, 8
|
|
1197
|
-
/* PROPS */
|
|
1198
|
-
, ["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_button, {
|
|
1132
|
+
_: 1 /* STABLE */
|
|
1133
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
1134
|
+
_: 1 /* STABLE */
|
|
1135
|
+
}, 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_button, {
|
|
1199
1136
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)(addSeePoint, ["stop"]),
|
|
1200
1137
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).seePoint,
|
|
1201
1138
|
type: "primary"
|
|
1202
1139
|
}, {
|
|
1203
|
-
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).seePoint), 1
|
|
1204
|
-
/*
|
|
1205
|
-
|
|
1206
|
-
_: 1
|
|
1207
|
-
/* STABLE */
|
|
1208
|
-
|
|
1209
|
-
}, 8
|
|
1210
|
-
/* PROPS */
|
|
1211
|
-
, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1140
|
+
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).seePoint), 1 /* TEXT */)]),
|
|
1141
|
+
_: 1 /* STABLE */
|
|
1142
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1212
1143
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)(addTargetPoint, ["stop"]),
|
|
1213
1144
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).targetPoint,
|
|
1214
1145
|
type: "primary"
|
|
1215
1146
|
}, {
|
|
1216
|
-
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).targetPoint), 1
|
|
1217
|
-
/*
|
|
1218
|
-
|
|
1219
|
-
_: 1
|
|
1220
|
-
/* STABLE */
|
|
1221
|
-
|
|
1222
|
-
}, 8
|
|
1223
|
-
/* PROPS */
|
|
1224
|
-
, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1147
|
+
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).targetPoint), 1 /* TEXT */)]),
|
|
1148
|
+
_: 1 /* STABLE */
|
|
1149
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1225
1150
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)(clearResult, ["stop"]),
|
|
1226
1151
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
1227
1152
|
}, {
|
|
1228
|
-
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
|
|
1229
|
-
/*
|
|
1230
|
-
|
|
1231
|
-
_: 1
|
|
1232
|
-
/* STABLE */
|
|
1233
|
-
|
|
1234
|
-
}, 8
|
|
1235
|
-
/* PROPS */
|
|
1236
|
-
, ["onClick", "title"])])])], 2
|
|
1237
|
-
/* CLASS */
|
|
1238
|
-
);
|
|
1153
|
+
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 */)]),
|
|
1154
|
+
_: 1 /* STABLE */
|
|
1155
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
1239
1156
|
};
|
|
1240
1157
|
}
|
|
1241
|
-
|
|
1242
1158
|
}));
|
|
1243
1159
|
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
1244
1160
|
|
|
@@ -1250,10 +1166,13 @@ const __exports__ = SightlineAnalysisvue_type_script_setup_true_lang_js;
|
|
|
1250
1166
|
|
|
1251
1167
|
/* harmony default export */ var SightlineAnalysis = (__exports__);
|
|
1252
1168
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1253
|
-
var init_js_ = __webpack_require__(
|
|
1169
|
+
var init_js_ = __webpack_require__(455);
|
|
1254
1170
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
1255
1171
|
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/index.js
|
|
1256
|
-
|
|
1172
|
+
/*
|
|
1173
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
1174
|
+
* All rights reserved.
|
|
1175
|
+
*/
|
|
1257
1176
|
|
|
1258
1177
|
|
|
1259
1178
|
|
|
@@ -1262,8 +1181,6 @@ SightlineAnalysis.install = (Vue, opts) => {
|
|
|
1262
1181
|
Vue.component(SightlineAnalysis.name, SightlineAnalysis);
|
|
1263
1182
|
};
|
|
1264
1183
|
|
|
1265
|
-
|
|
1266
|
-
}();
|
|
1267
1184
|
/******/ return __webpack_exports__;
|
|
1268
1185
|
/******/ })()
|
|
1269
1186
|
;
|