@kq_npm/client3d_webgl_vue 3.9.9-beta → 4.0.1-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 +149 -10
- package/aspectanalysis/index.js +8 -7
- package/baseterraingallery/index.js +8 -7
- package/boxclip/index.js +9 -7
- package/clientPrint/index.js +6 -4
- package/comparemap/index.js +11 -9
- package/compass/index.js +4 -4
- package/excavatefillanalysis/index.js +8 -7
- package/fixedzoomin/index.js +4 -4
- package/fixedzoomout/index.js +4 -4
- package/flight/index.js +10 -9
- package/floodanalysis/index.js +7 -6
- package/gpuspatialquery/index.js +8 -7
- package/hawkeye/index.js +8 -7
- package/headertemp/index.js +5 -4
- package/index.js +567 -189
- package/isolineanalysis/index.js +7 -6
- package/measure/index.js +15 -12
- package/modelselect/index.js +145 -9
- package/package.json +1 -1
- package/particleeffect/index.js +142 -6
- package/planeclip/index.js +8 -7
- package/profileanalysis/index.js +8 -7
- package/resetview/index.js +4 -4
- package/roller/index.js +8 -7
- package/scenceview/index.js +728 -291
- package/scenceview/style/scenceview.css +1 -1
- package/screenshot/index.js +8 -7
- package/shadowanalysis/index.js +146 -9
- package/sightlineanalysis/index.js +8 -6
- package/skylineanalysis/index.js +8 -7
- package/slopeanalysis/index.js +7 -6
- package/statusbar/index.js +4 -4
- package/style.css +1 -1
- package/terrainoperation/index.js +145 -9
- package/underground/index.js +8 -7
- package/viewshedanalysis/index.js +5 -4
- package/weathereffect/index.js +142 -6
package/index.js
CHANGED
|
@@ -1,10 +1,100 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
|
-
/******/ "use strict";
|
|
3
2
|
/******/ var __webpack_modules__ = ({
|
|
4
3
|
|
|
4
|
+
/***/ 283:
|
|
5
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6
|
+
|
|
7
|
+
__webpack_require__(271);
|
|
8
|
+
|
|
9
|
+
/*global window, global*/
|
|
10
|
+
var util = __webpack_require__(464);
|
|
11
|
+
|
|
12
|
+
var assert = __webpack_require__(84);
|
|
13
|
+
|
|
14
|
+
function now() {
|
|
15
|
+
return new Date().getTime();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
var slice = Array.prototype.slice;
|
|
19
|
+
var console;
|
|
20
|
+
var times = {};
|
|
21
|
+
|
|
22
|
+
if (typeof __webpack_require__.g !== "undefined" && __webpack_require__.g.console) {
|
|
23
|
+
console = __webpack_require__.g.console;
|
|
24
|
+
} else if (typeof window !== "undefined" && window.console) {
|
|
25
|
+
console = window.console;
|
|
26
|
+
} else {
|
|
27
|
+
console = {};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var functions = [[log, "log"], [info, "info"], [warn, "warn"], [error, "error"], [time, "time"], [timeEnd, "timeEnd"], [trace, "trace"], [dir, "dir"], [consoleAssert, "assert"]];
|
|
31
|
+
|
|
32
|
+
for (var i = 0; i < functions.length; i++) {
|
|
33
|
+
var tuple = functions[i];
|
|
34
|
+
var f = tuple[0];
|
|
35
|
+
var name = tuple[1];
|
|
36
|
+
|
|
37
|
+
if (!console[name]) {
|
|
38
|
+
console[name] = f;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
module.exports = console;
|
|
43
|
+
|
|
44
|
+
function log() {}
|
|
45
|
+
|
|
46
|
+
function info() {
|
|
47
|
+
console.log.apply(console, arguments);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function warn() {
|
|
51
|
+
console.log.apply(console, arguments);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
function error() {
|
|
55
|
+
console.warn.apply(console, arguments);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function time(label) {
|
|
59
|
+
times[label] = now();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function timeEnd(label) {
|
|
63
|
+
var time = times[label];
|
|
64
|
+
|
|
65
|
+
if (!time) {
|
|
66
|
+
throw new Error("No such label: " + label);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
delete times[label];
|
|
70
|
+
var duration = now() - time;
|
|
71
|
+
console.log(label + ": " + duration + "ms");
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function trace() {
|
|
75
|
+
var err = new Error();
|
|
76
|
+
err.name = "Trace";
|
|
77
|
+
err.message = util.format.apply(null, arguments);
|
|
78
|
+
console.error(err.stack);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function dir(object) {
|
|
82
|
+
console.log(util.inspect(object) + "\n");
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function consoleAssert(expression) {
|
|
86
|
+
if (!expression) {
|
|
87
|
+
var arr = slice.call(arguments, 1);
|
|
88
|
+
assert.ok(false, util.format.apply(null, arr));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/***/ }),
|
|
93
|
+
|
|
5
94
|
/***/ 705:
|
|
6
95
|
/***/ (function(module) {
|
|
7
96
|
|
|
97
|
+
"use strict";
|
|
8
98
|
|
|
9
99
|
/*
|
|
10
100
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
@@ -77,6 +167,7 @@ module.exports = function (cssWithMappingToString) {
|
|
|
77
167
|
/***/ 868:
|
|
78
168
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
79
169
|
|
|
170
|
+
"use strict";
|
|
80
171
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(705);
|
|
81
172
|
/* 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__);
|
|
82
173
|
// Imports
|
|
@@ -93,6 +184,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".coord{background:rgba(42,42,42,.8);bo
|
|
|
93
184
|
/***/ 854:
|
|
94
185
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
95
186
|
|
|
187
|
+
"use strict";
|
|
96
188
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(705);
|
|
97
189
|
/* 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__);
|
|
98
190
|
// Imports
|
|
@@ -109,6 +201,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".cesium-viewer-bottom{right:0px !impor
|
|
|
109
201
|
/***/ 379:
|
|
110
202
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
111
203
|
|
|
204
|
+
"use strict";
|
|
112
205
|
|
|
113
206
|
|
|
114
207
|
var isOldIE = function isOldIE() {
|
|
@@ -379,6 +472,30 @@ module.exports = function (list, options) {
|
|
|
379
472
|
};
|
|
380
473
|
};
|
|
381
474
|
|
|
475
|
+
/***/ }),
|
|
476
|
+
|
|
477
|
+
/***/ 84:
|
|
478
|
+
/***/ (function(module) {
|
|
479
|
+
|
|
480
|
+
"use strict";
|
|
481
|
+
module.exports = require("assert");
|
|
482
|
+
|
|
483
|
+
/***/ }),
|
|
484
|
+
|
|
485
|
+
/***/ 271:
|
|
486
|
+
/***/ (function(module) {
|
|
487
|
+
|
|
488
|
+
"use strict";
|
|
489
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
490
|
+
|
|
491
|
+
/***/ }),
|
|
492
|
+
|
|
493
|
+
/***/ 464:
|
|
494
|
+
/***/ (function(module) {
|
|
495
|
+
|
|
496
|
+
"use strict";
|
|
497
|
+
module.exports = require("util");
|
|
498
|
+
|
|
382
499
|
/***/ })
|
|
383
500
|
|
|
384
501
|
/******/ });
|
|
@@ -432,6 +549,18 @@ module.exports = function (list, options) {
|
|
|
432
549
|
/******/ };
|
|
433
550
|
/******/ }();
|
|
434
551
|
/******/
|
|
552
|
+
/******/ /* webpack/runtime/global */
|
|
553
|
+
/******/ !function() {
|
|
554
|
+
/******/ __webpack_require__.g = (function() {
|
|
555
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
556
|
+
/******/ try {
|
|
557
|
+
/******/ return this || new Function('return this')();
|
|
558
|
+
/******/ } catch (e) {
|
|
559
|
+
/******/ if (typeof window === 'object') return window;
|
|
560
|
+
/******/ }
|
|
561
|
+
/******/ })();
|
|
562
|
+
/******/ }();
|
|
563
|
+
/******/
|
|
435
564
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
436
565
|
/******/ !function() {
|
|
437
566
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
@@ -455,8 +584,9 @@ module.exports = function (list, options) {
|
|
|
455
584
|
/******/
|
|
456
585
|
/************************************************************************/
|
|
457
586
|
var __webpack_exports__ = {};
|
|
458
|
-
// This entry need to be wrapped in an IIFE because it need to be
|
|
587
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
459
588
|
!function() {
|
|
589
|
+
"use strict";
|
|
460
590
|
// ESM COMPAT FLAG
|
|
461
591
|
__webpack_require__.r(__webpack_exports__);
|
|
462
592
|
|
|
@@ -561,12 +691,16 @@ var const_image_namespaceObject = require("@kq_npm/client_common_vue/_utils/cons
|
|
|
561
691
|
|
|
562
692
|
|
|
563
693
|
|
|
694
|
+
|
|
695
|
+
|
|
564
696
|
//绘制操作类
|
|
565
697
|
|
|
566
698
|
class DrawManager {
|
|
567
699
|
// 图层分组
|
|
568
700
|
// 地理编码绘制点图标点击事件
|
|
569
701
|
// 地理编码绘制点图层分组
|
|
702
|
+
// 鼠标事件句柄集合
|
|
703
|
+
// 记录标记对象, 标记组件使用
|
|
570
704
|
// 默认绘制样式提供给绘图组件绑定
|
|
571
705
|
// 默认绘制样式
|
|
572
706
|
constructor(viewer, language) {
|
|
@@ -582,6 +716,10 @@ class DrawManager {
|
|
|
582
716
|
|
|
583
717
|
_defineProperty(this, "_pointGroup", []);
|
|
584
718
|
|
|
719
|
+
_defineProperty(this, "_mouseHandlers", {});
|
|
720
|
+
|
|
721
|
+
_defineProperty(this, "_labels", {});
|
|
722
|
+
|
|
585
723
|
_defineProperty(this, "_defaultStyle", {
|
|
586
724
|
color: "#ff0000",
|
|
587
725
|
fillColor: "#1E90FF",
|
|
@@ -684,7 +822,7 @@ class DrawManager {
|
|
|
684
822
|
});
|
|
685
823
|
|
|
686
824
|
this._viewer = viewer;
|
|
687
|
-
|
|
825
|
+
this._language = language;
|
|
688
826
|
this._drawHandler = Cesium.Kq3dPlotHandler; // 创建绘制图形图层
|
|
689
827
|
|
|
690
828
|
this._drawLayer = this._drawHandler.createShapeLayer({
|
|
@@ -701,7 +839,18 @@ class DrawManager {
|
|
|
701
839
|
|
|
702
840
|
this.drawFinishedEvent = this._drawHandler.drawHandler.drawFinished; // 编辑拾取事件
|
|
703
841
|
|
|
704
|
-
this.editSelectedEvent = this._drawHandler.editHandler.editSelected; //
|
|
842
|
+
this.editSelectedEvent = this._drawHandler.editHandler.editSelected; // 编辑完成事件
|
|
843
|
+
|
|
844
|
+
let editFinishedEvent = this._drawHandler.editHandler.editFinished;
|
|
845
|
+
this.editSelectedEvent.addEventListener(shape => {
|
|
846
|
+
if (shape) this.addMouseEvent('move', 'label');
|
|
847
|
+
});
|
|
848
|
+
editFinishedEvent.addEventListener(shape => {
|
|
849
|
+
if (shape) {
|
|
850
|
+
this.removeMouseEvent('move', 'label');
|
|
851
|
+
this._labelUpdateData && this._labelUpdateData();
|
|
852
|
+
}
|
|
853
|
+
}); // 关闭双击旋转交互
|
|
705
854
|
|
|
706
855
|
if (this._viewer.roadingHandler) {
|
|
707
856
|
this._viewer.roadingHandler.cameraRotatePointer.enableMouseAutoStart = false;
|
|
@@ -761,7 +910,10 @@ class DrawManager {
|
|
|
761
910
|
return material;
|
|
762
911
|
}
|
|
763
912
|
|
|
764
|
-
getImageWithColor(imgUrl, color
|
|
913
|
+
getImageWithColor(imgUrl, color) {
|
|
914
|
+
let width = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 32;
|
|
915
|
+
let height = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 32;
|
|
916
|
+
|
|
765
917
|
if (color) {
|
|
766
918
|
var svgStr = window.atob(imgUrl.split(',')[1]);
|
|
767
919
|
var regex = /#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/g; // 修改svg颜色
|
|
@@ -776,8 +928,16 @@ class DrawManager {
|
|
|
776
928
|
} //开始绘制
|
|
777
929
|
|
|
778
930
|
|
|
779
|
-
startDraw(type,
|
|
780
|
-
|
|
931
|
+
startDraw(type, style, callback, groupName) {
|
|
932
|
+
// 开始绘制之前停止编辑和关闭样式设置框
|
|
933
|
+
if (this._drawHandler.editHandler.shapeObject) {
|
|
934
|
+
this._drawHandler.startEdit(null);
|
|
935
|
+
|
|
936
|
+
this.destroyStylePopup();
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
let options = style ? { ...style
|
|
940
|
+
} : {};
|
|
781
941
|
|
|
782
942
|
if (type === "point") {
|
|
783
943
|
type = "marker";
|
|
@@ -809,7 +969,7 @@ class DrawManager {
|
|
|
809
969
|
//标记组件使用
|
|
810
970
|
options.fontSize = this._drawStyle.text.fontSize;
|
|
811
971
|
options.fontFamily = this._drawStyle.text.fontFamily;
|
|
812
|
-
options.content =
|
|
972
|
+
options.content = options.text;
|
|
813
973
|
options.is3D = true;
|
|
814
974
|
}
|
|
815
975
|
|
|
@@ -836,7 +996,7 @@ class DrawManager {
|
|
|
836
996
|
|
|
837
997
|
if (shape.type === "text") {
|
|
838
998
|
setTimeout(() => {
|
|
839
|
-
shape._label.disableDepthTestDistance = Number.POSITIVE_INFINITY;
|
|
999
|
+
if (shape._label) shape._label.disableDepthTestDistance = Number.POSITIVE_INFINITY;
|
|
840
1000
|
}, 200);
|
|
841
1001
|
}
|
|
842
1002
|
|
|
@@ -970,7 +1130,11 @@ class DrawManager {
|
|
|
970
1130
|
} //通过geojson进行绘制,支持定位
|
|
971
1131
|
|
|
972
1132
|
|
|
973
|
-
drawFromGeojson(geojsonData
|
|
1133
|
+
drawFromGeojson(geojsonData) {
|
|
1134
|
+
let idCustom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "result";
|
|
1135
|
+
let callFun = arguments.length > 2 ? arguments[2] : undefined;
|
|
1136
|
+
let geojsonStyle = arguments.length > 3 ? arguments[3] : undefined;
|
|
1137
|
+
let isLocation = arguments.length > 4 ? arguments[4] : undefined;
|
|
974
1138
|
if (!geojsonStyle) geojsonStyle = {};
|
|
975
1139
|
let style = JSON.parse(JSON.stringify(this._geojsonStyle));
|
|
976
1140
|
|
|
@@ -1198,26 +1362,40 @@ class DrawManager {
|
|
|
1198
1362
|
let type = primitive._geoType;
|
|
1199
1363
|
|
|
1200
1364
|
if (primitive.type === 'text') {
|
|
1365
|
+
if (primitive.fontSize != style.fontSize) {
|
|
1366
|
+
// 修改样式弹窗的 offset
|
|
1367
|
+
if (this._stylePopup && this._stylePopup.show) {
|
|
1368
|
+
this._stylePopup.anchor = [0, -8 - style.fontSize];
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1201
1372
|
primitive.fontSize = style.fontSize;
|
|
1202
1373
|
primitive.fontFamily = style.fontFamily;
|
|
1203
1374
|
primitive.text = style.content;
|
|
1204
1375
|
primitive.fillColor = Cesium.Color.fromCssColorString(style.color);
|
|
1205
1376
|
} else if (type === 'point') {
|
|
1377
|
+
if (primitive.height != style.iconSize[1]) {
|
|
1378
|
+
// 修改样式弹窗的 offset
|
|
1379
|
+
if (this._stylePopup && this._stylePopup.show) {
|
|
1380
|
+
this._stylePopup.anchor = [0, -8 - style.iconSize[1] * primitive._scaleHeight];
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1206
1384
|
primitive.image = this.getImageWithColor(style.iconUrl, style.color, style.iconSize[0], style.iconSize[1]);
|
|
1207
1385
|
primitive.width = style.iconSize[0];
|
|
1208
1386
|
primitive.height = style.iconSize[1];
|
|
1209
1387
|
} else if (type === 'polyline' || type === 'polygon') {
|
|
1210
|
-
if (style.weight) primitive.width = style.weight;
|
|
1211
|
-
if (style.color) primitive.color = Cesium.Color.fromCssColorString(style.color);
|
|
1212
|
-
if (style.dashArray) primitive.dashArray = style.dashArray;
|
|
1213
|
-
if (style.opacity) primitive.color = primitive.color.withAlpha(style.opacity);
|
|
1388
|
+
if (style.weight != undefined) primitive.width = style.weight;
|
|
1389
|
+
if (style.color != undefined) primitive.color = Cesium.Color.fromCssColorString(style.color);
|
|
1390
|
+
if (style.dashArray != undefined) primitive.dashArray = style.dashArray;
|
|
1391
|
+
if (style.opacity != undefined) primitive.color = primitive.color.withAlpha(style.opacity);
|
|
1214
1392
|
}
|
|
1215
1393
|
|
|
1216
1394
|
if (type === 'polygon') {
|
|
1217
1395
|
primitive.fill = style.fill === undefined ? true : style.fill;
|
|
1218
1396
|
|
|
1219
1397
|
if (primitive.fill) {
|
|
1220
|
-
let opacity = style.fillOpacity
|
|
1398
|
+
let opacity = style.fillOpacity === undefined ? this._drawStyle.polygon.fillOpacity : style.fillOpacity;
|
|
1221
1399
|
if (style.fillColor) primitive.fillColor = Cesium.Color.fromCssColorString(style.fillColor).withAlpha(opacity);
|
|
1222
1400
|
}
|
|
1223
1401
|
} // 存储绘图样式, 标记组件使用
|
|
@@ -1311,7 +1489,7 @@ class DrawManager {
|
|
|
1311
1489
|
for (let i = 0; i < layerList.length; i++) {
|
|
1312
1490
|
const layer = layerList[i];
|
|
1313
1491
|
const name = layer.name || "";
|
|
1314
|
-
const info = this.getShapeInfo(layer.
|
|
1492
|
+
const info = this.getShapeInfo(layer.guid);
|
|
1315
1493
|
items.push({
|
|
1316
1494
|
name: name,
|
|
1317
1495
|
info: info,
|
|
@@ -1377,14 +1555,14 @@ class DrawManager {
|
|
|
1377
1555
|
color: Cesium.Color.fromCssColorString(info.style.color)
|
|
1378
1556
|
});
|
|
1379
1557
|
setTimeout(() => {
|
|
1380
|
-
shape._label.disableDepthTestDistance = Number.POSITIVE_INFINITY;
|
|
1558
|
+
if (shape._label) shape._label.disableDepthTestDistance = Number.POSITIVE_INFINITY;
|
|
1381
1559
|
}, 200);
|
|
1382
1560
|
}
|
|
1383
1561
|
|
|
1384
1562
|
return shape;
|
|
1385
1563
|
}
|
|
1386
1564
|
|
|
1387
|
-
createLayerListByJson(items) {
|
|
1565
|
+
createLayerListByJson(items, updateData) {
|
|
1388
1566
|
let layerList = [];
|
|
1389
1567
|
|
|
1390
1568
|
for (let i = 0; i < items.length; i++) {
|
|
@@ -1400,22 +1578,166 @@ class DrawManager {
|
|
|
1400
1578
|
layerList.push({
|
|
1401
1579
|
name: item.name,
|
|
1402
1580
|
shape: type,
|
|
1403
|
-
|
|
1581
|
+
guid: shape.id
|
|
1404
1582
|
});
|
|
1405
1583
|
}
|
|
1406
|
-
}
|
|
1584
|
+
} // 开启编辑和点击弹窗事件
|
|
1585
|
+
|
|
1407
1586
|
|
|
1587
|
+
this.enableEdit(true);
|
|
1588
|
+
this.addMouseEvent('click', 'label'); // 标注坐标修改回调事件
|
|
1589
|
+
|
|
1590
|
+
this._labelUpdateData = updateData;
|
|
1408
1591
|
return layerList;
|
|
1409
1592
|
}
|
|
1410
1593
|
|
|
1411
1594
|
removeGeometryById(id) {
|
|
1412
|
-
this._drawLayer.removeById(id);
|
|
1595
|
+
this._drawLayer.removeById(id); // 删除图形关联的样式设置框
|
|
1596
|
+
|
|
1597
|
+
|
|
1598
|
+
let div = document.getElementById(id);
|
|
1599
|
+
|
|
1600
|
+
if (div) {
|
|
1601
|
+
this.destroyStylePopup();
|
|
1602
|
+
}
|
|
1603
|
+
} // 获取图形位置
|
|
1604
|
+
|
|
1605
|
+
|
|
1606
|
+
getShapePosition(shape) {
|
|
1607
|
+
let position = null;
|
|
1608
|
+
|
|
1609
|
+
if (shape) {
|
|
1610
|
+
if (shape.controlPoints && shape.controlPoints.length === 0) return position;
|
|
1611
|
+
|
|
1612
|
+
if (shape.type === this._drawHandler.ShapeTypes.MARKER.type || shape.type === this._drawHandler.ShapeTypes.TEXT.type) {
|
|
1613
|
+
position = new window.Cesium.Cartesian3(shape._position.x, shape._position.y, shape._position.z);
|
|
1614
|
+
} else if (shape.type === this._drawHandler.ShapeTypes.CIRCLE.type) {
|
|
1615
|
+
position = shape.center;
|
|
1616
|
+
} else if (shape.type === this._drawHandler.ShapeTypes.POLYLINE.type || shape.type === this._drawHandler.ShapeTypes.POLYGON.type) {
|
|
1617
|
+
position = shape.controlPoints[0];
|
|
1618
|
+
} else if (shape.type === this._drawHandler.ShapeTypes.RECTANGLE.type) {
|
|
1619
|
+
position = shape.controlPoints[0];
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
return position;
|
|
1624
|
+
} // 弹出样式设置框
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
openShapeStylePopup(id, vNode, render, clickPosition) {
|
|
1628
|
+
let shape = this._drawLayer.getById(id);
|
|
1629
|
+
|
|
1630
|
+
if (!shape) return;
|
|
1631
|
+
if (!clickPosition) this._drawHandler.startEdit(shape);
|
|
1632
|
+
let position = clickPosition || this.getShapePosition(shape);
|
|
1633
|
+
|
|
1634
|
+
if (position) {
|
|
1635
|
+
let title = this._language.editLabel;
|
|
1636
|
+
let offsetY = -8;
|
|
1637
|
+
|
|
1638
|
+
if (!clickPosition) {
|
|
1639
|
+
if (shape.type == 'marker') offsetY -= shape.height * shape._scaleHeight;
|
|
1640
|
+
if (shape.type == 'text') offsetY -= shape.fontSize;
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
this.destroyStylePopup();
|
|
1644
|
+
this._stylePopup = new Cesium.Kq3dHtmlTag(this._viewer, {
|
|
1645
|
+
html: `<div class='kq-label-popup' style='background-color:var(--kq-bg-color); border-radius: 8px;'>
|
|
1646
|
+
<div class='popup-title'>
|
|
1647
|
+
<span class='popup-title-text'>${title}</span>
|
|
1648
|
+
</div>
|
|
1649
|
+
<div id=${id}></div>
|
|
1650
|
+
<span class='triangle'></span>
|
|
1651
|
+
<a class='close' href="javascript:void(0)" onclick="document.getElementsByClassName('kq-label-popup')[0].style.display='none';"><span>×</span></a>
|
|
1652
|
+
</div>`,
|
|
1653
|
+
position: position,
|
|
1654
|
+
anchor: [0, offsetY],
|
|
1655
|
+
alignmentMode: 7,
|
|
1656
|
+
noEvent: false,
|
|
1657
|
+
show: false
|
|
1658
|
+
});
|
|
1659
|
+
setTimeout(() => {
|
|
1660
|
+
render(vNode, document.getElementById(id));
|
|
1661
|
+
this._stylePopup.show = true;
|
|
1662
|
+
}, 100);
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
destroyStylePopup() {
|
|
1667
|
+
this._stylePopup && this._stylePopup.destroy();
|
|
1668
|
+
this._stylePopup = null;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
recordVNode(item, render, updateStyle) {
|
|
1672
|
+
this._render = render;
|
|
1673
|
+
this._updateStyle = updateStyle;
|
|
1674
|
+
this._labels[item.guid] = item;
|
|
1675
|
+
} // 添加鼠标监听事件
|
|
1676
|
+
|
|
1677
|
+
|
|
1678
|
+
addMouseEvent(type, target) {
|
|
1679
|
+
if (!this._mouseHandlers[target]) this._mouseHandlers[target] = new Cesium.ScreenSpaceEventHandler(this._viewer.scene.canvas);
|
|
1680
|
+
let that = this;
|
|
1681
|
+
|
|
1682
|
+
if (type == "click") {
|
|
1683
|
+
that._mouseHandlers[target].setInputAction(function (movement) {
|
|
1684
|
+
if (target == "label" && !that._drawHandler.drawHandler.isDrawing) {
|
|
1685
|
+
let pickedObject = that._viewer.scene.pick(movement.position);
|
|
1686
|
+
|
|
1687
|
+
if (pickedObject && pickedObject.primitive && pickedObject.primitive.id) {
|
|
1688
|
+
let item = that._labels[pickedObject.primitive.id.id];
|
|
1689
|
+
|
|
1690
|
+
if (item) {
|
|
1691
|
+
that._updateStyle(item);
|
|
1692
|
+
|
|
1693
|
+
var ray = that._viewer.camera.getPickRay(movement.position);
|
|
1694
|
+
|
|
1695
|
+
if (ray) {
|
|
1696
|
+
var position = that._viewer.scene.globe.pick(ray, that._viewer.scene);
|
|
1697
|
+
|
|
1698
|
+
that.openShapeStylePopup(item.guid, item.vNode, that._render, position);
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
} else {
|
|
1702
|
+
that.destroyStylePopup();
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
}, Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
1706
|
+
} else if (type == "move") {
|
|
1707
|
+
that._mouseHandlers[target].setInputAction(function (movement) {
|
|
1708
|
+
if (target == "label") {
|
|
1709
|
+
if (that._drawHandler.editHandler._pickedAnchor && that._drawHandler.editHandler._shapeObject) {
|
|
1710
|
+
that.removeMouseEvent('move', 'label');
|
|
1711
|
+
that.destroyStylePopup();
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
1715
|
+
}
|
|
1716
|
+
} // 移除鼠标监听事件
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
removeMouseEvent(type, target) {
|
|
1720
|
+
if (this._mouseHandlers[target]) {
|
|
1721
|
+
if (type == "click") {
|
|
1722
|
+
this._mouseHandlers[target].removeInputAction(Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
1723
|
+
|
|
1724
|
+
if (target == "label") {
|
|
1725
|
+
this._labels = {};
|
|
1726
|
+
this.destroyStylePopup();
|
|
1727
|
+
this.enableEdit(false);
|
|
1728
|
+
}
|
|
1729
|
+
} else if (type == "move") {
|
|
1730
|
+
this._mouseHandlers[target].removeInputAction(Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1413
1733
|
}
|
|
1414
1734
|
/********** 地理编码通用组件使用 start ************/
|
|
1415
1735
|
// 绘制点图标自带点击弹出气泡, 地理编码通用组件使用
|
|
1416
1736
|
|
|
1417
1737
|
|
|
1418
|
-
drawPointWithPoup(data
|
|
1738
|
+
drawPointWithPoup(data) {
|
|
1739
|
+
let idCustom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "geocode";
|
|
1740
|
+
|
|
1419
1741
|
if (!this._handler) {
|
|
1420
1742
|
// 注册点击事件
|
|
1421
1743
|
let scene = this._viewer.scene;
|
|
@@ -1475,7 +1797,9 @@ class DrawManager {
|
|
|
1475
1797
|
} // 通过id打开地理编码图标气泡
|
|
1476
1798
|
|
|
1477
1799
|
|
|
1478
|
-
openPointPoup(id
|
|
1800
|
+
openPointPoup(id) {
|
|
1801
|
+
let idCustom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "geocode";
|
|
1802
|
+
|
|
1479
1803
|
if (id) {
|
|
1480
1804
|
let pointDs = this._viewer.dataSources.getByName(idCustom);
|
|
1481
1805
|
|
|
@@ -1498,7 +1822,9 @@ class DrawManager {
|
|
|
1498
1822
|
} // 清除地理编码指定分组的所有图标
|
|
1499
1823
|
|
|
1500
1824
|
|
|
1501
|
-
clearPointByIdCustom(
|
|
1825
|
+
clearPointByIdCustom() {
|
|
1826
|
+
let idCustom = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "geocode";
|
|
1827
|
+
|
|
1502
1828
|
let pointDs = this._viewer.dataSources.getByName(idCustom);
|
|
1503
1829
|
|
|
1504
1830
|
if (pointDs.length > 0) {
|
|
@@ -1550,6 +1876,7 @@ var util_namespaceObject = require("@kq_npm/client_common_vue/_utils/util");
|
|
|
1550
1876
|
var global_event_namespaceObject = require("@kq_npm/client_common_vue/_types/global-event");
|
|
1551
1877
|
var global_event_default = /*#__PURE__*/__webpack_require__.n(global_event_namespaceObject);
|
|
1552
1878
|
;// CONCATENATED MODULE: ./src/webgl/scenceview/LayerManager.js
|
|
1879
|
+
/* provided dependency */ var console = __webpack_require__(283);
|
|
1553
1880
|
|
|
1554
1881
|
|
|
1555
1882
|
|
|
@@ -1793,7 +2120,8 @@ class LayerManager {
|
|
|
1793
2120
|
} //添加图层数据
|
|
1794
2121
|
|
|
1795
2122
|
|
|
1796
|
-
addLayerData(layerData
|
|
2123
|
+
addLayerData(layerData) {
|
|
2124
|
+
let isAdd = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
1797
2125
|
var type = layerData.addType;
|
|
1798
2126
|
let url = layerData.url;
|
|
1799
2127
|
type = type || "";
|
|
@@ -1979,7 +2307,6 @@ class LayerManager {
|
|
|
1979
2307
|
if (isAdd) {
|
|
1980
2308
|
var imageryProvider = new Cesium.Kq3dKQGISMapServerImageryProviderExt({
|
|
1981
2309
|
url: url,
|
|
1982
|
-
ua_token: layerData.token,
|
|
1983
2310
|
layers: layerData.id + "",
|
|
1984
2311
|
...params
|
|
1985
2312
|
});
|
|
@@ -2103,7 +2430,10 @@ class LayerManager {
|
|
|
2103
2430
|
break;
|
|
2104
2431
|
|
|
2105
2432
|
case "wmts":
|
|
2106
|
-
case "kqgistileserver":
|
|
2433
|
+
case "kqgistileserver": // KQGIS瓦片服务
|
|
2434
|
+
|
|
2435
|
+
case "kqgisaggregationserver":
|
|
2436
|
+
//KQGIS聚合服务
|
|
2107
2437
|
//如果是kqserver类型,记录服务返回的图层信息
|
|
2108
2438
|
if (layerData.sourceLayers) {
|
|
2109
2439
|
var layerInfo = layerData.sourceLayers.find(item => {
|
|
@@ -2459,7 +2789,8 @@ class LayerManager {
|
|
|
2459
2789
|
*/
|
|
2460
2790
|
|
|
2461
2791
|
|
|
2462
|
-
setLayerVisibleStateByIds(ids, visible
|
|
2792
|
+
setLayerVisibleStateByIds(ids, visible) {
|
|
2793
|
+
let eventTarget = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
2463
2794
|
if (!(ids && ids.length > 0)) return;
|
|
2464
2795
|
let layer;
|
|
2465
2796
|
|
|
@@ -2709,7 +3040,9 @@ class LayerManager {
|
|
|
2709
3040
|
} //获取选中图层key集合
|
|
2710
3041
|
|
|
2711
3042
|
|
|
2712
|
-
getLayerCheckedListKey(
|
|
3043
|
+
getLayerCheckedListKey() {
|
|
3044
|
+
let isCheck = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
|
|
3045
|
+
let serverType = arguments.length > 1 ? arguments[1] : undefined;
|
|
2713
3046
|
let checkedKeys = [];
|
|
2714
3047
|
|
|
2715
3048
|
this._layerListData.forEach(layer => {
|
|
@@ -2950,7 +3283,8 @@ class LayerManager {
|
|
|
2950
3283
|
} //添加临时图层树节点
|
|
2951
3284
|
|
|
2952
3285
|
|
|
2953
|
-
addTempLayerNode(layer
|
|
3286
|
+
addTempLayerNode(layer) {
|
|
3287
|
+
let type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
2954
3288
|
let tempLayer = null;
|
|
2955
3289
|
|
|
2956
3290
|
for (let i = 0; i < this._layerTreeData.length; i++) {
|
|
@@ -3143,7 +3477,9 @@ class LayerManager {
|
|
|
3143
3477
|
* @param guid
|
|
3144
3478
|
*/
|
|
3145
3479
|
|
|
3146
|
-
function getChildrenByGuid(data, guid, guids
|
|
3480
|
+
function getChildrenByGuid(data, guid, guids) {
|
|
3481
|
+
let addChildren = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
3482
|
+
|
|
3147
3483
|
for (let i = 0; i < data.length; i++) {
|
|
3148
3484
|
if (data[i].children) {
|
|
3149
3485
|
if (data[i].guid === guid || addChildren) {
|
|
@@ -3185,8 +3521,8 @@ function delTreeDataByGuid(data, guid) {
|
|
|
3185
3521
|
}
|
|
3186
3522
|
}
|
|
3187
3523
|
;// CONCATENATED MODULE: ./src/webgl/scenceview/ScenceViewViewModel.js
|
|
3524
|
+
//ScenceView逻辑类
|
|
3188
3525
|
|
|
3189
|
-
//ScenceView逻辑类
|
|
3190
3526
|
|
|
3191
3527
|
|
|
3192
3528
|
|
|
@@ -3637,7 +3973,7 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
3637
3973
|
}
|
|
3638
3974
|
|
|
3639
3975
|
}
|
|
3640
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/scenceview/ScenceView.vue?vue&type=script&setup=true&lang=js
|
|
3976
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/scenceview/ScenceView.vue?vue&type=script&setup=true&lang=js
|
|
3641
3977
|
|
|
3642
3978
|
const _hoisted_1 = {
|
|
3643
3979
|
class: "kq-scence-view",
|
|
@@ -3699,9 +4035,10 @@ const __default__ = {
|
|
|
3699
4035
|
}
|
|
3700
4036
|
},
|
|
3701
4037
|
|
|
3702
|
-
setup(__props, {
|
|
3703
|
-
|
|
3704
|
-
|
|
4038
|
+
setup(__props, _ref) {
|
|
4039
|
+
let {
|
|
4040
|
+
expose
|
|
4041
|
+
} = _ref;
|
|
3705
4042
|
const props = __props;
|
|
3706
4043
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeMount)(() => {
|
|
3707
4044
|
if (!(0,util_namespaceObject.checkAuditTime)()) {
|
|
@@ -3834,8 +4171,8 @@ ScenceView.install = (Vue, opts) => {
|
|
|
3834
4171
|
;// CONCATENATED MODULE: external "@element-plus/icons-vue"
|
|
3835
4172
|
var icons_vue_namespaceObject = require("@element-plus/icons-vue");
|
|
3836
4173
|
;// CONCATENATED MODULE: ./src/webgl/fixedzoomout/FixedZoomoutViewModel.js
|
|
4174
|
+
// 三维固定缩放逻辑
|
|
3837
4175
|
|
|
3838
|
-
// 三维固定缩放逻辑
|
|
3839
4176
|
class FixedZoomout3dViewModel {
|
|
3840
4177
|
//三维viewer对象
|
|
3841
4178
|
constructor(viewer) {
|
|
@@ -3904,7 +4241,7 @@ class FixedZoomout3dViewModel {
|
|
|
3904
4241
|
var gis_utils_namespaceObject = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
3905
4242
|
;// CONCATENATED MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
3906
4243
|
var vue_i18n_cjs_js_namespaceObject = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
3907
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomout/FixedZoomout.vue?vue&type=script&setup=true&lang=js
|
|
4244
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomout/FixedZoomout.vue?vue&type=script&setup=true&lang=js
|
|
3908
4245
|
|
|
3909
4246
|
|
|
3910
4247
|
|
|
@@ -4012,8 +4349,8 @@ FixedZoomout.install = (Vue, opts) => {
|
|
|
4012
4349
|
|
|
4013
4350
|
|
|
4014
4351
|
;// CONCATENATED MODULE: ./src/webgl/fixedzoomin/FixedZoominViewModel.js
|
|
4352
|
+
// 三维固定缩放逻辑
|
|
4015
4353
|
|
|
4016
|
-
// 三维固定缩放逻辑
|
|
4017
4354
|
class FixedZoomin3dViewModel {
|
|
4018
4355
|
//三维viewer对象
|
|
4019
4356
|
constructor(viewer) {
|
|
@@ -4078,7 +4415,7 @@ class FixedZoomin3dViewModel {
|
|
|
4078
4415
|
}
|
|
4079
4416
|
|
|
4080
4417
|
}
|
|
4081
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomin/FixedZoomin.vue?vue&type=script&setup=true&lang=js
|
|
4418
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomin/FixedZoomin.vue?vue&type=script&setup=true&lang=js
|
|
4082
4419
|
|
|
4083
4420
|
|
|
4084
4421
|
|
|
@@ -4186,8 +4523,8 @@ FixedZoomin.install = (Vue, opts) => {
|
|
|
4186
4523
|
|
|
4187
4524
|
|
|
4188
4525
|
;// CONCATENATED MODULE: ./src/webgl/resetview/ResetViewViewModel.js
|
|
4526
|
+
// 重置视图
|
|
4189
4527
|
|
|
4190
|
-
// 重置视图
|
|
4191
4528
|
class ResetViewViewModel {
|
|
4192
4529
|
//三维viewer对象
|
|
4193
4530
|
constructor(viewer) {
|
|
@@ -4202,7 +4539,7 @@ class ResetViewViewModel {
|
|
|
4202
4539
|
}
|
|
4203
4540
|
|
|
4204
4541
|
}
|
|
4205
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/resetview/ResetView.vue?vue&type=script&setup=true&lang=js
|
|
4542
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/resetview/ResetView.vue?vue&type=script&setup=true&lang=js
|
|
4206
4543
|
|
|
4207
4544
|
|
|
4208
4545
|
|
|
@@ -4312,8 +4649,8 @@ ResetView.install = (Vue, opts) => {
|
|
|
4312
4649
|
;// CONCATENATED MODULE: external "@kq_npm/client_icons_vue"
|
|
4313
4650
|
var client_icons_vue_namespaceObject = require("@kq_npm/client_icons_vue");
|
|
4314
4651
|
;// CONCATENATED MODULE: ./src/webgl/compass/CompassViewModel.js
|
|
4652
|
+
// 重置视图
|
|
4315
4653
|
|
|
4316
|
-
// 重置视图
|
|
4317
4654
|
class CompassViewModel {
|
|
4318
4655
|
//三维viewer对象
|
|
4319
4656
|
constructor(viewer) {
|
|
@@ -4371,7 +4708,7 @@ class CompassViewModel {
|
|
|
4371
4708
|
}
|
|
4372
4709
|
|
|
4373
4710
|
}
|
|
4374
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/compass/Compass.vue?vue&type=script&setup=true&lang=js
|
|
4711
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/compass/Compass.vue?vue&type=script&setup=true&lang=js
|
|
4375
4712
|
|
|
4376
4713
|
|
|
4377
4714
|
|
|
@@ -4493,7 +4830,8 @@ var external_html2canvas_default = /*#__PURE__*/__webpack_require__.n(external_h
|
|
|
4493
4830
|
;// CONCATENATED MODULE: external "vue3-print-nb"
|
|
4494
4831
|
var external_vue3_print_nb_namespaceObject = require("vue3-print-nb");
|
|
4495
4832
|
var external_vue3_print_nb_default = /*#__PURE__*/__webpack_require__.n(external_vue3_print_nb_namespaceObject);
|
|
4496
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/clientPrint/ClientPrint.vue?vue&type=script&setup=true&lang=js
|
|
4833
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/clientPrint/ClientPrint.vue?vue&type=script&setup=true&lang=js
|
|
4834
|
+
|
|
4497
4835
|
|
|
4498
4836
|
|
|
4499
4837
|
const ClientPrintvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
@@ -4639,9 +4977,10 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
|
|
|
4639
4977
|
}
|
|
4640
4978
|
},
|
|
4641
4979
|
|
|
4642
|
-
setup(__props, {
|
|
4643
|
-
|
|
4644
|
-
|
|
4980
|
+
setup(__props, _ref) {
|
|
4981
|
+
let {
|
|
4982
|
+
expose
|
|
4983
|
+
} = _ref;
|
|
4645
4984
|
const props = __props;
|
|
4646
4985
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
4647
4986
|
let {
|
|
@@ -6572,8 +6911,8 @@ ClientPrint.install = (Vue, opts) => {
|
|
|
6572
6911
|
|
|
6573
6912
|
|
|
6574
6913
|
;// CONCATENATED MODULE: ./src/webgl/baseterraingallery/BaseterrainGalleryViewModel.js
|
|
6914
|
+
//在线地形逻辑类
|
|
6575
6915
|
|
|
6576
|
-
//在线地形逻辑类
|
|
6577
6916
|
class BaseterrainGalleryViewModel {
|
|
6578
6917
|
//基本地形对象
|
|
6579
6918
|
constructor(viewer) {
|
|
@@ -6642,7 +6981,7 @@ class BaseterrainGalleryViewModel {
|
|
|
6642
6981
|
}
|
|
6643
6982
|
|
|
6644
6983
|
}
|
|
6645
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/baseterraingallery/BaseterrainGallery.vue?vue&type=script&setup=true&lang=js
|
|
6984
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/baseterraingallery/BaseterrainGallery.vue?vue&type=script&setup=true&lang=js
|
|
6646
6985
|
|
|
6647
6986
|
const BaseterrainGalleryvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
6648
6987
|
class: "kq3d-baseterrain-gallery-box"
|
|
@@ -6721,9 +7060,10 @@ const BaseterrainGalleryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6721
7060
|
}
|
|
6722
7061
|
},
|
|
6723
7062
|
|
|
6724
|
-
setup(__props, {
|
|
6725
|
-
|
|
6726
|
-
|
|
7063
|
+
setup(__props, _ref) {
|
|
7064
|
+
let {
|
|
7065
|
+
expose
|
|
7066
|
+
} = _ref;
|
|
6727
7067
|
const props = __props; //语言
|
|
6728
7068
|
|
|
6729
7069
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); //地形选中值
|
|
@@ -6936,8 +7276,8 @@ BaseterrainGallery.install = (Vue, opts) => {
|
|
|
6936
7276
|
|
|
6937
7277
|
|
|
6938
7278
|
;// CONCATENATED MODULE: ./src/webgl/measure/MeasureViewModel.js
|
|
7279
|
+
//测量操作类
|
|
6939
7280
|
|
|
6940
|
-
//测量操作类
|
|
6941
7281
|
class MeasureViewModel {
|
|
6942
7282
|
//测量三维对象
|
|
6943
7283
|
//测量事件
|
|
@@ -6949,9 +7289,9 @@ class MeasureViewModel {
|
|
|
6949
7289
|
|
|
6950
7290
|
_defineProperty(this, "measureEvent", null);
|
|
6951
7291
|
|
|
6952
|
-
_defineProperty(this, "activeEvent", null);
|
|
7292
|
+
_defineProperty(this, "activeEvent", null); //开启深度检测
|
|
7293
|
+
|
|
6953
7294
|
|
|
6954
|
-
//开启深度检测
|
|
6955
7295
|
viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
6956
7296
|
this._measureHandler = new Cesium.Kq3dMeasureHandler(viewer);
|
|
6957
7297
|
this._viewer = viewer;
|
|
@@ -7078,7 +7418,7 @@ class MeasureViewModel {
|
|
|
7078
7418
|
}
|
|
7079
7419
|
|
|
7080
7420
|
}
|
|
7081
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/measure/Measure.vue?vue&type=script&setup=true&lang=js
|
|
7421
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/measure/Measure.vue?vue&type=script&setup=true&lang=js
|
|
7082
7422
|
|
|
7083
7423
|
const Measurevue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
7084
7424
|
class: "kq-measure3d-box"
|
|
@@ -7201,6 +7541,8 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
7201
7541
|
};
|
|
7202
7542
|
/* harmony default export */ var Measurevue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(Measurevue_type_script_setup_true_lang_js_default_, {
|
|
7203
7543
|
props: {
|
|
7544
|
+
//指定组件绑定的viewer对象的div的id
|
|
7545
|
+
target: String,
|
|
7204
7546
|
// 是否显示阴影效果
|
|
7205
7547
|
showShadow: {
|
|
7206
7548
|
type: Boolean,
|
|
@@ -7237,9 +7579,10 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
7237
7579
|
}
|
|
7238
7580
|
},
|
|
7239
7581
|
|
|
7240
|
-
setup(__props, {
|
|
7241
|
-
|
|
7242
|
-
|
|
7582
|
+
setup(__props, _ref) {
|
|
7583
|
+
let {
|
|
7584
|
+
expose
|
|
7585
|
+
} = _ref;
|
|
7243
7586
|
const props = __props;
|
|
7244
7587
|
let measureType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 测量类型
|
|
7245
7588
|
|
|
@@ -7296,7 +7639,7 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
7296
7639
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
7297
7640
|
watchCreateHeaderTemp();
|
|
7298
7641
|
});
|
|
7299
|
-
gis_utils_namespaceObject.utils.getWebMap(
|
|
7642
|
+
gis_utils_namespaceObject.utils.getWebMap(props.target, scenceView => {
|
|
7300
7643
|
if (scenceView) {
|
|
7301
7644
|
viewModel = new MeasureViewModel(scenceView._viewer); //注册测量事件,以获取测量结果
|
|
7302
7645
|
|
|
@@ -7735,8 +8078,8 @@ Measure.install = (Vue, opts) => {
|
|
|
7735
8078
|
|
|
7736
8079
|
|
|
7737
8080
|
;// CONCATENATED MODULE: ./src/webgl/flight/FlightViewModel.js
|
|
8081
|
+
//飞行操作类
|
|
7738
8082
|
|
|
7739
|
-
//飞行操作类
|
|
7740
8083
|
class FlightViewModel {
|
|
7741
8084
|
//飞行三维对象
|
|
7742
8085
|
//停止事件
|
|
@@ -7840,7 +8183,7 @@ class FlightViewModel {
|
|
|
7840
8183
|
}
|
|
7841
8184
|
|
|
7842
8185
|
}
|
|
7843
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/flight/Flight.vue?vue&type=script&setup=true&lang=js
|
|
8186
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/flight/Flight.vue?vue&type=script&setup=true&lang=js
|
|
7844
8187
|
|
|
7845
8188
|
const Flightvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
7846
8189
|
class: "kq-flight3d-box"
|
|
@@ -7932,9 +8275,10 @@ const Flightvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7932
8275
|
}
|
|
7933
8276
|
},
|
|
7934
8277
|
|
|
7935
|
-
setup(__props, {
|
|
7936
|
-
|
|
7937
|
-
|
|
8278
|
+
setup(__props, _ref) {
|
|
8279
|
+
let {
|
|
8280
|
+
expose
|
|
8281
|
+
} = _ref;
|
|
7938
8282
|
const props = __props;
|
|
7939
8283
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
7940
8284
|
let isAdd = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(false);
|
|
@@ -8790,8 +9134,8 @@ Flight.install = (Vue, opts) => {
|
|
|
8790
9134
|
var external_xe_utils_namespaceObject = require("xe-utils");
|
|
8791
9135
|
var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_xe_utils_namespaceObject);
|
|
8792
9136
|
;// CONCATENATED MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQueryViewModel.js
|
|
9137
|
+
//GPU空间查询逻辑类
|
|
8793
9138
|
|
|
8794
|
-
//GPU空间查询逻辑类
|
|
8795
9139
|
|
|
8796
9140
|
class GPUSpatialQueryViewModel {
|
|
8797
9141
|
//GPU查询三维对象
|
|
@@ -9085,7 +9429,7 @@ class GPUSpatialQueryViewModel {
|
|
|
9085
9429
|
}
|
|
9086
9430
|
|
|
9087
9431
|
}
|
|
9088
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/gpuspatialquery/GPUSpatialQuery.vue?vue&type=script&setup=true&lang=js
|
|
9432
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/gpuspatialquery/GPUSpatialQuery.vue?vue&type=script&setup=true&lang=js
|
|
9089
9433
|
|
|
9090
9434
|
const GPUSpatialQueryvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
9091
9435
|
class: "kq3d-gpu-spatial-query-box"
|
|
@@ -9167,9 +9511,10 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9167
9511
|
}
|
|
9168
9512
|
},
|
|
9169
9513
|
|
|
9170
|
-
setup(__props, {
|
|
9171
|
-
|
|
9172
|
-
|
|
9514
|
+
setup(__props, _ref) {
|
|
9515
|
+
let {
|
|
9516
|
+
expose
|
|
9517
|
+
} = _ref;
|
|
9173
9518
|
const props = __props;
|
|
9174
9519
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
9175
9520
|
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 获取组件传参
|
|
@@ -9751,8 +10096,9 @@ GPUSpatialQuery.install = (Vue, opts) => {
|
|
|
9751
10096
|
|
|
9752
10097
|
|
|
9753
10098
|
;// CONCATENATED MODULE: ./src/webgl/modelselect/ModelSelectViewModel.js
|
|
10099
|
+
/* provided dependency */ var ModelSelectViewModel_console = __webpack_require__(283);
|
|
10100
|
+
//模型拾取逻辑类
|
|
9754
10101
|
|
|
9755
|
-
//模型拾取逻辑类
|
|
9756
10102
|
|
|
9757
10103
|
class ModelSelectViewModel {
|
|
9758
10104
|
//三维viewer对象
|
|
@@ -9816,10 +10162,10 @@ class ModelSelectViewModel {
|
|
|
9816
10162
|
});
|
|
9817
10163
|
pickCallFunc && pickCallFunc(pickedObject.tileset.name || "LayerName", attrs);
|
|
9818
10164
|
} else {
|
|
9819
|
-
|
|
10165
|
+
ModelSelectViewModel_console.log("Feature has no id attribute!");
|
|
9820
10166
|
}
|
|
9821
10167
|
} else {
|
|
9822
|
-
|
|
10168
|
+
ModelSelectViewModel_console.log("no Cesium3DTileFeature!");
|
|
9823
10169
|
}
|
|
9824
10170
|
}
|
|
9825
10171
|
}
|
|
@@ -9868,7 +10214,7 @@ class ModelSelectViewModel {
|
|
|
9868
10214
|
}
|
|
9869
10215
|
|
|
9870
10216
|
}
|
|
9871
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelselect/ModelSelect.vue?vue&type=script&setup=true&lang=js
|
|
10217
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelselect/ModelSelect.vue?vue&type=script&setup=true&lang=js
|
|
9872
10218
|
|
|
9873
10219
|
const ModelSelectvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
9874
10220
|
class: "title"
|
|
@@ -9942,9 +10288,10 @@ const ModelSelectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9942
10288
|
}
|
|
9943
10289
|
},
|
|
9944
10290
|
|
|
9945
|
-
setup(__props, {
|
|
9946
|
-
|
|
9947
|
-
|
|
10291
|
+
setup(__props, _ref) {
|
|
10292
|
+
let {
|
|
10293
|
+
expose
|
|
10294
|
+
} = _ref;
|
|
9948
10295
|
const props = __props;
|
|
9949
10296
|
let layerNameTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 属性值
|
|
9950
10297
|
|
|
@@ -10210,6 +10557,7 @@ var update = injectStylesIntoStyleTag_default()(divpoint/* default */.Z, options
|
|
|
10210
10557
|
|
|
10211
10558
|
|
|
10212
10559
|
|
|
10560
|
+
|
|
10213
10561
|
//通视分析逻辑类
|
|
10214
10562
|
|
|
10215
10563
|
class SightlineAnalysisViewModel {
|
|
@@ -10497,7 +10845,7 @@ class SightlineAnalysisViewModel {
|
|
|
10497
10845
|
}
|
|
10498
10846
|
|
|
10499
10847
|
}
|
|
10500
|
-
;// 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
|
|
10848
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./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
|
|
10501
10849
|
|
|
10502
10850
|
const SightlineAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
10503
10851
|
class: "kq3d-sightline-analysis-box"
|
|
@@ -10556,9 +10904,10 @@ const SightlineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10556
10904
|
}
|
|
10557
10905
|
},
|
|
10558
10906
|
|
|
10559
|
-
setup(__props, {
|
|
10560
|
-
|
|
10561
|
-
|
|
10907
|
+
setup(__props, _ref) {
|
|
10908
|
+
let {
|
|
10909
|
+
expose
|
|
10910
|
+
} = _ref;
|
|
10562
10911
|
const props = __props;
|
|
10563
10912
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
10564
10913
|
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 获取组件传参
|
|
@@ -11017,7 +11366,7 @@ class ViewshedAnalysisViewModel {
|
|
|
11017
11366
|
}
|
|
11018
11367
|
|
|
11019
11368
|
}
|
|
11020
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
11369
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
11021
11370
|
|
|
11022
11371
|
const ViewshedAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
11023
11372
|
class: "kq3d-viewshed-analysis-box"
|
|
@@ -11076,9 +11425,10 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11076
11425
|
}
|
|
11077
11426
|
},
|
|
11078
11427
|
|
|
11079
|
-
setup(__props, {
|
|
11080
|
-
|
|
11081
|
-
|
|
11428
|
+
setup(__props, _ref) {
|
|
11429
|
+
let {
|
|
11430
|
+
expose
|
|
11431
|
+
} = _ref;
|
|
11082
11432
|
const props = __props;
|
|
11083
11433
|
const {
|
|
11084
11434
|
proxy
|
|
@@ -11545,8 +11895,8 @@ ViewshedAnalysis.install = (Vue, opts) => {
|
|
|
11545
11895
|
|
|
11546
11896
|
|
|
11547
11897
|
;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysisViewModel.js
|
|
11898
|
+
// 分析逻辑类
|
|
11548
11899
|
|
|
11549
|
-
// 分析逻辑类
|
|
11550
11900
|
|
|
11551
11901
|
class ShadowAnalysisViewModel {
|
|
11552
11902
|
//阴影分析三维对象
|
|
@@ -11777,7 +12127,8 @@ class ShadowAnalysisViewModel {
|
|
|
11777
12127
|
}
|
|
11778
12128
|
|
|
11779
12129
|
}
|
|
11780
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
12130
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
12131
|
+
/* provided dependency */ var ShadowAnalysisvue_type_script_setup_true_lang_js_console = __webpack_require__(283);
|
|
11781
12132
|
|
|
11782
12133
|
const ShadowAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
11783
12134
|
class: "kq3d-shadow-analysis-box"
|
|
@@ -11854,9 +12205,10 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11854
12205
|
}
|
|
11855
12206
|
},
|
|
11856
12207
|
|
|
11857
|
-
setup(__props, {
|
|
11858
|
-
|
|
11859
|
-
|
|
12208
|
+
setup(__props, _ref) {
|
|
12209
|
+
let {
|
|
12210
|
+
expose
|
|
12211
|
+
} = _ref;
|
|
11860
12212
|
const props = __props;
|
|
11861
12213
|
const {
|
|
11862
12214
|
proxy
|
|
@@ -12014,13 +12366,13 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
12014
12366
|
var m = dd.getMonth() + 1; //获取当前月份的日期
|
|
12015
12367
|
|
|
12016
12368
|
var d = dd.getDate();
|
|
12017
|
-
|
|
12369
|
+
ShadowAnalysisvue_type_script_setup_true_lang_js_console.log(y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d));
|
|
12018
12370
|
return y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
|
|
12019
12371
|
} // 日期改变
|
|
12020
12372
|
|
|
12021
12373
|
|
|
12022
12374
|
function changeDate(val) {
|
|
12023
|
-
|
|
12375
|
+
ShadowAnalysisvue_type_script_setup_true_lang_js_console.log(formItem.currentDate);
|
|
12024
12376
|
if (viewModel.setCurrentDate) viewModel.setCurrentDate(formItem.currentDate);
|
|
12025
12377
|
} // 改变时刻
|
|
12026
12378
|
|
|
@@ -12672,8 +13024,8 @@ ShadowAnalysis.install = (Vue, opts) => {
|
|
|
12672
13024
|
|
|
12673
13025
|
|
|
12674
13026
|
;// CONCATENATED MODULE: ./src/webgl/profileanalysis/ProfileAnalysisViewModel.js
|
|
13027
|
+
//分析逻辑类
|
|
12675
13028
|
|
|
12676
|
-
//分析逻辑类
|
|
12677
13029
|
let floatingPoint;
|
|
12678
13030
|
let drawPoints = [];
|
|
12679
13031
|
let activeShapePoints = [];
|
|
@@ -12933,7 +13285,7 @@ class ProfileAnalysisViewModel {
|
|
|
12933
13285
|
}
|
|
12934
13286
|
|
|
12935
13287
|
}
|
|
12936
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/profileanalysis/ProfileAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
13288
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/profileanalysis/ProfileAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
12937
13289
|
|
|
12938
13290
|
const ProfileAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
12939
13291
|
class: "kq3d-profile-analysis-box"
|
|
@@ -12999,9 +13351,10 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
12999
13351
|
}
|
|
13000
13352
|
},
|
|
13001
13353
|
|
|
13002
|
-
setup(__props, {
|
|
13003
|
-
|
|
13004
|
-
|
|
13354
|
+
setup(__props, _ref) {
|
|
13355
|
+
let {
|
|
13356
|
+
expose
|
|
13357
|
+
} = _ref;
|
|
13005
13358
|
const props = __props;
|
|
13006
13359
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); // 设置
|
|
13007
13360
|
|
|
@@ -13504,8 +13857,8 @@ ProfileAnalysis.install = (Vue, opts) => {
|
|
|
13504
13857
|
|
|
13505
13858
|
|
|
13506
13859
|
;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/SkylineAnalysisViewModel.js
|
|
13860
|
+
//天际线分析逻辑类
|
|
13507
13861
|
|
|
13508
|
-
//天际线分析逻辑类
|
|
13509
13862
|
|
|
13510
13863
|
class SkylineAnalysisViewModel {
|
|
13511
13864
|
/**
|
|
@@ -13826,7 +14179,7 @@ class SkylineAnalysisViewModel {
|
|
|
13826
14179
|
}
|
|
13827
14180
|
;// CONCATENATED MODULE: external "echarts"
|
|
13828
14181
|
var external_echarts_namespaceObject = require("echarts");
|
|
13829
|
-
;// 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
|
|
14182
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./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
|
|
13830
14183
|
|
|
13831
14184
|
const SkylineAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
13832
14185
|
class: "kq3d-skyline-analysis-box"
|
|
@@ -13895,9 +14248,10 @@ const SkylineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
13895
14248
|
}
|
|
13896
14249
|
},
|
|
13897
14250
|
|
|
13898
|
-
setup(__props, {
|
|
13899
|
-
|
|
13900
|
-
|
|
14251
|
+
setup(__props, _ref) {
|
|
14252
|
+
let {
|
|
14253
|
+
expose
|
|
14254
|
+
} = _ref;
|
|
13901
14255
|
const props = __props;
|
|
13902
14256
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); // 设置
|
|
13903
14257
|
|
|
@@ -14399,8 +14753,9 @@ SkylineAnalysis.install = (Vue, opts) => {
|
|
|
14399
14753
|
|
|
14400
14754
|
|
|
14401
14755
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
|
|
14756
|
+
/* provided dependency */ var TerrainOperationViewModel_console = __webpack_require__(283);
|
|
14757
|
+
//地形淹没分析逻辑类
|
|
14402
14758
|
|
|
14403
|
-
//地形淹没分析逻辑类
|
|
14404
14759
|
|
|
14405
14760
|
class TerrainOperationViewModel {
|
|
14406
14761
|
//地形开挖三维对象
|
|
@@ -14487,7 +14842,7 @@ class TerrainOperationViewModel {
|
|
|
14487
14842
|
let positions = [];
|
|
14488
14843
|
|
|
14489
14844
|
that._globaOptions.positions.forEach((item, index) => {
|
|
14490
|
-
|
|
14845
|
+
TerrainOperationViewModel_console.log(index);
|
|
14491
14846
|
let cag = window.Cesium.Cartographic.fromCartesian(item);
|
|
14492
14847
|
positions.push(cag);
|
|
14493
14848
|
heights.push(cag.height);
|
|
@@ -14525,7 +14880,7 @@ class TerrainOperationViewModel {
|
|
|
14525
14880
|
let positions = [];
|
|
14526
14881
|
|
|
14527
14882
|
this._globaOptions.positions.forEach((item, index) => {
|
|
14528
|
-
|
|
14883
|
+
TerrainOperationViewModel_console.log(index);
|
|
14529
14884
|
let cag = window.Cesium.Cartographic.fromCartesian(item);
|
|
14530
14885
|
positions.push(cag);
|
|
14531
14886
|
heights.push(cag.height);
|
|
@@ -14615,7 +14970,7 @@ class TerrainOperationViewModel {
|
|
|
14615
14970
|
}
|
|
14616
14971
|
|
|
14617
14972
|
}
|
|
14618
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
14973
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
14619
14974
|
|
|
14620
14975
|
const TerrainOperationvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
14621
14976
|
class: "kq3d-terrain-operation-analysis-box"
|
|
@@ -14682,9 +15037,10 @@ const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
|
|
|
14682
15037
|
}
|
|
14683
15038
|
},
|
|
14684
15039
|
|
|
14685
|
-
setup(__props, {
|
|
14686
|
-
|
|
14687
|
-
|
|
15040
|
+
setup(__props, _ref) {
|
|
15041
|
+
let {
|
|
15042
|
+
expose
|
|
15043
|
+
} = _ref;
|
|
14688
15044
|
const props = __props;
|
|
14689
15045
|
const {
|
|
14690
15046
|
proxy
|
|
@@ -14963,8 +15319,8 @@ TerrainOperation.install = (Vue, opts) => {
|
|
|
14963
15319
|
|
|
14964
15320
|
|
|
14965
15321
|
;// CONCATENATED MODULE: ./src/webgl/excavatefillanalysis/ExcavateFillAnalysisViewModel.js
|
|
15322
|
+
//填挖方分析逻辑类
|
|
14966
15323
|
|
|
14967
|
-
//填挖方分析逻辑类
|
|
14968
15324
|
|
|
14969
15325
|
class ExcavateFillAnalysisViewModel {
|
|
14970
15326
|
//填挖方分析三维对象
|
|
@@ -15089,7 +15445,7 @@ class ExcavateFillAnalysisViewModel {
|
|
|
15089
15445
|
}
|
|
15090
15446
|
|
|
15091
15447
|
}
|
|
15092
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/excavatefillanalysis/ExcavateFillAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
15448
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/excavatefillanalysis/ExcavateFillAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
15093
15449
|
|
|
15094
15450
|
const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
15095
15451
|
class: "kq3d-excavate-fill-analysis-box"
|
|
@@ -15161,9 +15517,10 @@ const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
15161
15517
|
}
|
|
15162
15518
|
},
|
|
15163
15519
|
|
|
15164
|
-
setup(__props, {
|
|
15165
|
-
|
|
15166
|
-
|
|
15520
|
+
setup(__props, _ref) {
|
|
15521
|
+
let {
|
|
15522
|
+
expose
|
|
15523
|
+
} = _ref;
|
|
15167
15524
|
const props = __props;
|
|
15168
15525
|
const {
|
|
15169
15526
|
proxy
|
|
@@ -15826,7 +16183,7 @@ class FloodAnalysisViewModel {
|
|
|
15826
16183
|
}
|
|
15827
16184
|
|
|
15828
16185
|
}
|
|
15829
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/floodanalysis/FloodAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
16186
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/floodanalysis/FloodAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
15830
16187
|
|
|
15831
16188
|
const FloodAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
15832
16189
|
class: "kq3d-flood-analysis-box"
|
|
@@ -15894,9 +16251,10 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
15894
16251
|
}
|
|
15895
16252
|
},
|
|
15896
16253
|
|
|
15897
|
-
setup(__props, {
|
|
15898
|
-
|
|
15899
|
-
|
|
16254
|
+
setup(__props, _ref) {
|
|
16255
|
+
let {
|
|
16256
|
+
expose
|
|
16257
|
+
} = _ref;
|
|
15900
16258
|
const props = __props;
|
|
15901
16259
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
15902
16260
|
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 淹没色调图片
|
|
@@ -16799,7 +17157,7 @@ class SlopeAnalysisViewModel {
|
|
|
16799
17157
|
}
|
|
16800
17158
|
|
|
16801
17159
|
}
|
|
16802
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
17160
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
16803
17161
|
|
|
16804
17162
|
const SlopeAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
16805
17163
|
class: "kq3d-slope-analysis-box"
|
|
@@ -16887,9 +17245,10 @@ const SlopeAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
16887
17245
|
}
|
|
16888
17246
|
},
|
|
16889
17247
|
|
|
16890
|
-
setup(__props, {
|
|
16891
|
-
|
|
16892
|
-
|
|
17248
|
+
setup(__props, _ref) {
|
|
17249
|
+
let {
|
|
17250
|
+
expose
|
|
17251
|
+
} = _ref;
|
|
16893
17252
|
const props = __props;
|
|
16894
17253
|
const {
|
|
16895
17254
|
proxy
|
|
@@ -17626,11 +17985,11 @@ SlopeAnalysis.install = (Vue, opts) => {
|
|
|
17626
17985
|
|
|
17627
17986
|
;// CONCATENATED MODULE: ./src/webgl/aspectanalysis/AspectAnalysisViewModel.js
|
|
17628
17987
|
|
|
17629
|
-
|
|
17630
17988
|
/**
|
|
17631
17989
|
* 坡向逻辑类
|
|
17632
17990
|
**/
|
|
17633
17991
|
|
|
17992
|
+
|
|
17634
17993
|
class AspectAnalysisViewModel {
|
|
17635
17994
|
// 坡向三维对象
|
|
17636
17995
|
constructor(scenceView, aspect) {
|
|
@@ -17724,7 +18083,7 @@ class AspectAnalysisViewModel {
|
|
|
17724
18083
|
}
|
|
17725
18084
|
|
|
17726
18085
|
}
|
|
17727
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/aspectanalysis/AspectAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
18086
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/aspectanalysis/AspectAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
17728
18087
|
|
|
17729
18088
|
const AspectAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
17730
18089
|
class: "kq3d-aspect-analysis-box"
|
|
@@ -17783,9 +18142,10 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
17783
18142
|
}
|
|
17784
18143
|
},
|
|
17785
18144
|
|
|
17786
|
-
setup(__props, {
|
|
17787
|
-
|
|
17788
|
-
|
|
18145
|
+
setup(__props, _ref) {
|
|
18146
|
+
let {
|
|
18147
|
+
expose
|
|
18148
|
+
} = _ref;
|
|
17789
18149
|
const props = __props;
|
|
17790
18150
|
const {
|
|
17791
18151
|
proxy
|
|
@@ -18501,7 +18861,7 @@ class IsolineAnalysisViewModel {
|
|
|
18501
18861
|
}
|
|
18502
18862
|
|
|
18503
18863
|
}
|
|
18504
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/isolineanalysis/IsolineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
18864
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/isolineanalysis/IsolineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
18505
18865
|
|
|
18506
18866
|
const IsolineAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
18507
18867
|
class: "kq3d-isoline-analysis-box"
|
|
@@ -18622,9 +18982,10 @@ const IsolineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
18622
18982
|
}
|
|
18623
18983
|
},
|
|
18624
18984
|
|
|
18625
|
-
setup(__props, {
|
|
18626
|
-
|
|
18627
|
-
|
|
18985
|
+
setup(__props, _ref) {
|
|
18986
|
+
let {
|
|
18987
|
+
expose
|
|
18988
|
+
} = _ref;
|
|
18628
18989
|
const props = __props;
|
|
18629
18990
|
const {
|
|
18630
18991
|
proxy
|
|
@@ -20781,8 +21142,8 @@ IsolineAnalysis.install = (Vue, opts) => {
|
|
|
20781
21142
|
|
|
20782
21143
|
|
|
20783
21144
|
;// CONCATENATED MODULE: ./src/webgl/boxclip/BoxClipViewModel.js
|
|
21145
|
+
//Box裁剪逻辑类
|
|
20784
21146
|
|
|
20785
|
-
//Box裁剪逻辑类
|
|
20786
21147
|
|
|
20787
21148
|
class BoxClipViewModel {
|
|
20788
21149
|
//三维viewer对象
|
|
@@ -20878,6 +21239,7 @@ class BoxClipViewModel {
|
|
|
20878
21239
|
}
|
|
20879
21240
|
|
|
20880
21241
|
if (flag) {
|
|
21242
|
+
this.clear();
|
|
20881
21243
|
if (this._drawManager) this._drawManager.startDraw("marker", {
|
|
20882
21244
|
image: null
|
|
20883
21245
|
});
|
|
@@ -20977,7 +21339,7 @@ class BoxClipViewModel {
|
|
|
20977
21339
|
}
|
|
20978
21340
|
|
|
20979
21341
|
}
|
|
20980
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/boxclip/BoxClip.vue?vue&type=script&setup=true&lang=js
|
|
21342
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/boxclip/BoxClip.vue?vue&type=script&setup=true&lang=js
|
|
20981
21343
|
|
|
20982
21344
|
const BoxClipvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
20983
21345
|
class: "kq3d-box-clip-box"
|
|
@@ -21042,9 +21404,10 @@ const BoxClipvue_type_script_setup_true_lang_js_default_ = {
|
|
|
21042
21404
|
}
|
|
21043
21405
|
},
|
|
21044
21406
|
|
|
21045
|
-
setup(__props, {
|
|
21046
|
-
|
|
21047
|
-
|
|
21407
|
+
setup(__props, _ref) {
|
|
21408
|
+
let {
|
|
21409
|
+
expose
|
|
21410
|
+
} = _ref;
|
|
21048
21411
|
const props = __props;
|
|
21049
21412
|
const {
|
|
21050
21413
|
proxy
|
|
@@ -21888,8 +22251,8 @@ BoxClip.install = (Vue, opts) => {
|
|
|
21888
22251
|
|
|
21889
22252
|
|
|
21890
22253
|
;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
|
|
22254
|
+
//平面裁剪逻辑类
|
|
21891
22255
|
|
|
21892
|
-
//平面裁剪逻辑类
|
|
21893
22256
|
|
|
21894
22257
|
class PlaneClipViewModel {
|
|
21895
22258
|
//三维viewer对象
|
|
@@ -22067,7 +22430,7 @@ class PlaneClipViewModel {
|
|
|
22067
22430
|
}
|
|
22068
22431
|
|
|
22069
22432
|
}
|
|
22070
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
22433
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
22071
22434
|
|
|
22072
22435
|
const PlaneClipvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
22073
22436
|
class: "kq3d-plane-clip-box"
|
|
@@ -22135,9 +22498,10 @@ const PlaneClipvue_type_script_setup_true_lang_js_default_ = {
|
|
|
22135
22498
|
}
|
|
22136
22499
|
},
|
|
22137
22500
|
|
|
22138
|
-
setup(__props, {
|
|
22139
|
-
|
|
22140
|
-
|
|
22501
|
+
setup(__props, _ref) {
|
|
22502
|
+
let {
|
|
22503
|
+
expose
|
|
22504
|
+
} = _ref;
|
|
22141
22505
|
const props = __props;
|
|
22142
22506
|
const {
|
|
22143
22507
|
proxy
|
|
@@ -22656,6 +23020,7 @@ PlaneClip.install = (Vue, opts) => {
|
|
|
22656
23020
|
|
|
22657
23021
|
|
|
22658
23022
|
;// CONCATENATED MODULE: ./src/webgl/adddata/AddDataViewModel.js
|
|
23023
|
+
/* provided dependency */ var AddDataViewModel_console = __webpack_require__(283);
|
|
22659
23024
|
|
|
22660
23025
|
|
|
22661
23026
|
|
|
@@ -22991,7 +23356,7 @@ class AddDataViewModel {
|
|
|
22991
23356
|
};
|
|
22992
23357
|
|
|
22993
23358
|
reader.onerror = function () {
|
|
22994
|
-
|
|
23359
|
+
AddDataViewModel_console.log(file.name + " read error.");
|
|
22995
23360
|
reject(file.name + " read error.");
|
|
22996
23361
|
};
|
|
22997
23362
|
}
|
|
@@ -23307,8 +23672,7 @@ class AddDataViewModel {
|
|
|
23307
23672
|
this._layerManager._layerListData = this._layerManager._layerListData.concat(showLayers);
|
|
23308
23673
|
showLayers.forEach(layer => {
|
|
23309
23674
|
var imageryProvider = new Cesium.Kq3dKQGISMapServerImageryProviderExt({
|
|
23310
|
-
url:
|
|
23311
|
-
ua_token: layer.accessToken,
|
|
23675
|
+
url: url,
|
|
23312
23676
|
layers: layer.id + ""
|
|
23313
23677
|
});
|
|
23314
23678
|
var imageryLayer = new Cesium.ImageryLayer(imageryProvider, {
|
|
@@ -23334,6 +23698,7 @@ class AddDataViewModel {
|
|
|
23334
23698
|
setChildrenAddType(mapServerInfo.layerTreeData, type);
|
|
23335
23699
|
mapServerInfo.layerTreeData.forEach(node => {
|
|
23336
23700
|
node.lsType = "ls";
|
|
23701
|
+
node.url = url;
|
|
23337
23702
|
|
|
23338
23703
|
this._layerManager.addTempLayerNode(node, 1);
|
|
23339
23704
|
|
|
@@ -23729,7 +24094,7 @@ function setChildrenAddType(nodeList, addType) {
|
|
|
23729
24094
|
}
|
|
23730
24095
|
}
|
|
23731
24096
|
}
|
|
23732
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/adddata/AddData.vue?vue&type=script&setup=true&lang=js
|
|
24097
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/adddata/AddData.vue?vue&type=script&setup=true&lang=js
|
|
23733
24098
|
|
|
23734
24099
|
const AddDatavue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
23735
24100
|
class: "kq3d-add-data-box"
|
|
@@ -23838,9 +24203,10 @@ const AddDatavue_type_script_setup_true_lang_js_default_ = {
|
|
|
23838
24203
|
}
|
|
23839
24204
|
},
|
|
23840
24205
|
|
|
23841
|
-
setup(__props, {
|
|
23842
|
-
|
|
23843
|
-
|
|
24206
|
+
setup(__props, _ref) {
|
|
24207
|
+
let {
|
|
24208
|
+
expose
|
|
24209
|
+
} = _ref;
|
|
23844
24210
|
const props = __props;
|
|
23845
24211
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
23846
24212
|
let selectTypeIndex = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(0); //URL服务支持的数据源类型
|
|
@@ -24468,6 +24834,7 @@ AddData.install = (Vue, opts) => {
|
|
|
24468
24834
|
|
|
24469
24835
|
|
|
24470
24836
|
;// CONCATENATED MODULE: ./src/webgl/particleeffect/ParticleEffectViewModel.js
|
|
24837
|
+
/* provided dependency */ var ParticleEffectViewModel_console = __webpack_require__(283);
|
|
24471
24838
|
|
|
24472
24839
|
|
|
24473
24840
|
let _gravityScratch = null;
|
|
@@ -24589,7 +24956,7 @@ class ParticleEffectViewModel {
|
|
|
24589
24956
|
let mode = options.mode;
|
|
24590
24957
|
|
|
24591
24958
|
if (mode !== "flame" && mode !== "smoke") {
|
|
24592
|
-
|
|
24959
|
+
ParticleEffectViewModel_console.log("This mode is not supported.");
|
|
24593
24960
|
return;
|
|
24594
24961
|
}
|
|
24595
24962
|
|
|
@@ -24695,7 +25062,7 @@ class ParticleEffectViewModel {
|
|
|
24695
25062
|
}
|
|
24696
25063
|
|
|
24697
25064
|
}
|
|
24698
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/particleeffect/ParticleEffect.vue?vue&type=script&setup=true&lang=js
|
|
25065
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/particleeffect/ParticleEffect.vue?vue&type=script&setup=true&lang=js
|
|
24699
25066
|
|
|
24700
25067
|
const ParticleEffectvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
24701
25068
|
class: "kq3d-particle-effect-box"
|
|
@@ -24754,9 +25121,10 @@ const ParticleEffectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
24754
25121
|
}
|
|
24755
25122
|
},
|
|
24756
25123
|
|
|
24757
|
-
setup(__props, {
|
|
24758
|
-
|
|
24759
|
-
|
|
25124
|
+
setup(__props, _ref) {
|
|
25125
|
+
let {
|
|
25126
|
+
expose
|
|
25127
|
+
} = _ref;
|
|
24760
25128
|
const props = __props;
|
|
24761
25129
|
const {
|
|
24762
25130
|
proxy
|
|
@@ -25560,6 +25928,7 @@ ParticleEffect.install = (Vue, opts) => {
|
|
|
25560
25928
|
|
|
25561
25929
|
|
|
25562
25930
|
;// CONCATENATED MODULE: ./src/webgl/weathereffect/WeatherEffectViewModel.js
|
|
25931
|
+
/* provided dependency */ var WeatherEffectViewModel_console = __webpack_require__(283);
|
|
25563
25932
|
|
|
25564
25933
|
|
|
25565
25934
|
let WeatherEffectViewModel_gravityScratch = null;
|
|
@@ -25644,7 +26013,7 @@ class WeatherEffectViewModel {
|
|
|
25644
26013
|
let mode = options.mode;
|
|
25645
26014
|
|
|
25646
26015
|
if (mode !== "rain" && mode !== "snow") {
|
|
25647
|
-
|
|
26016
|
+
WeatherEffectViewModel_console.log("This mode is not supported.");
|
|
25648
26017
|
return;
|
|
25649
26018
|
}
|
|
25650
26019
|
|
|
@@ -25729,7 +26098,7 @@ class WeatherEffectViewModel {
|
|
|
25729
26098
|
}
|
|
25730
26099
|
|
|
25731
26100
|
}
|
|
25732
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
|
|
26101
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
|
|
25733
26102
|
|
|
25734
26103
|
const WeatherEffectvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
25735
26104
|
class: "kq3d-weather-effect-box"
|
|
@@ -25788,9 +26157,10 @@ const WeatherEffectvue_type_script_setup_true_lang_js_default_ = {
|
|
|
25788
26157
|
}
|
|
25789
26158
|
},
|
|
25790
26159
|
|
|
25791
|
-
setup(__props, {
|
|
25792
|
-
|
|
25793
|
-
|
|
26160
|
+
setup(__props, _ref) {
|
|
26161
|
+
let {
|
|
26162
|
+
expose
|
|
26163
|
+
} = _ref;
|
|
25794
26164
|
const props = __props;
|
|
25795
26165
|
const {
|
|
25796
26166
|
proxy
|
|
@@ -26417,8 +26787,8 @@ WeatherEffect.install = (Vue, opts) => {
|
|
|
26417
26787
|
|
|
26418
26788
|
|
|
26419
26789
|
;// CONCATENATED MODULE: ./src/webgl/comparemap/CompareMapViewModel.js
|
|
26790
|
+
//多窗口逻辑类
|
|
26420
26791
|
|
|
26421
|
-
//多窗口逻辑类
|
|
26422
26792
|
class CompareMapViewModel {
|
|
26423
26793
|
// 三维视图对象
|
|
26424
26794
|
//三维viewer对象
|
|
@@ -26516,7 +26886,8 @@ class CompareMapViewModel {
|
|
|
26516
26886
|
}
|
|
26517
26887
|
|
|
26518
26888
|
}
|
|
26519
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMapTree.vue?vue&type=script&setup=true&lang=js
|
|
26889
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMapTree.vue?vue&type=script&setup=true&lang=js
|
|
26890
|
+
|
|
26520
26891
|
|
|
26521
26892
|
|
|
26522
26893
|
const CompareMapTreevue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
@@ -26640,7 +27011,7 @@ const CompareMapTreevue_type_script_setup_true_lang_js_default_ = {
|
|
|
26640
27011
|
const CompareMapTree_exports_ = CompareMapTreevue_type_script_setup_true_lang_js;
|
|
26641
27012
|
|
|
26642
27013
|
/* harmony default export */ var CompareMapTree = (CompareMapTree_exports_);
|
|
26643
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMap.vue?vue&type=script&setup=true&lang=js
|
|
27014
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMap.vue?vue&type=script&setup=true&lang=js
|
|
26644
27015
|
|
|
26645
27016
|
const CompareMapvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
26646
27017
|
class: "kq3d-compare-map"
|
|
@@ -26667,10 +27038,11 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
26667
27038
|
},
|
|
26668
27039
|
emits: ["back"],
|
|
26669
27040
|
|
|
26670
|
-
setup(__props, {
|
|
26671
|
-
|
|
26672
|
-
|
|
26673
|
-
|
|
27041
|
+
setup(__props, _ref) {
|
|
27042
|
+
let {
|
|
27043
|
+
expose,
|
|
27044
|
+
emit
|
|
27045
|
+
} = _ref;
|
|
26674
27046
|
const props = __props;
|
|
26675
27047
|
let offsetTop = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("auto");
|
|
26676
27048
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
@@ -26848,8 +27220,8 @@ CompareMap.install = (Vue, opts) => {
|
|
|
26848
27220
|
|
|
26849
27221
|
|
|
26850
27222
|
;// CONCATENATED MODULE: ./src/webgl/screenshot/ScreenshotViewModel.js
|
|
27223
|
+
//截图逻辑类
|
|
26851
27224
|
|
|
26852
|
-
//截图逻辑类
|
|
26853
27225
|
class ScreenshotViewModel {
|
|
26854
27226
|
//三维viewer对象
|
|
26855
27227
|
//截图存储参数对象
|
|
@@ -26994,7 +27366,7 @@ class ScreenshotViewModel {
|
|
|
26994
27366
|
}
|
|
26995
27367
|
|
|
26996
27368
|
}
|
|
26997
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/screenshot/Screenshot.vue?vue&type=script&setup=true&lang=js
|
|
27369
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/screenshot/Screenshot.vue?vue&type=script&setup=true&lang=js
|
|
26998
27370
|
|
|
26999
27371
|
const Screenshotvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
27000
27372
|
class: "kq3d-screenshot-box"
|
|
@@ -27053,9 +27425,10 @@ const Screenshotvue_type_script_setup_true_lang_js_default_ = {
|
|
|
27053
27425
|
}
|
|
27054
27426
|
},
|
|
27055
27427
|
|
|
27056
|
-
setup(__props, {
|
|
27057
|
-
|
|
27058
|
-
|
|
27428
|
+
setup(__props, _ref) {
|
|
27429
|
+
let {
|
|
27430
|
+
expose
|
|
27431
|
+
} = _ref;
|
|
27059
27432
|
const props = __props;
|
|
27060
27433
|
let imgWidthMax = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(800); // 场景高度
|
|
27061
27434
|
|
|
@@ -27400,8 +27773,8 @@ Screenshot.install = (Vue, opts) => {
|
|
|
27400
27773
|
|
|
27401
27774
|
|
|
27402
27775
|
;// CONCATENATED MODULE: ./src/webgl/hawkeye/HawkeyeViewModel.js
|
|
27776
|
+
//鹰眼逻辑类
|
|
27403
27777
|
|
|
27404
|
-
//鹰眼逻辑类
|
|
27405
27778
|
class HawkeyeViewModel {
|
|
27406
27779
|
//鹰眼三维对象
|
|
27407
27780
|
constructor(scenceView, options) {
|
|
@@ -27445,7 +27818,7 @@ class HawkeyeViewModel {
|
|
|
27445
27818
|
}
|
|
27446
27819
|
|
|
27447
27820
|
}
|
|
27448
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
|
|
27821
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
|
|
27449
27822
|
|
|
27450
27823
|
|
|
27451
27824
|
|
|
@@ -27489,9 +27862,10 @@ const Hawkeyevue_type_script_setup_true_lang_js_default_ = {
|
|
|
27489
27862
|
layers: Array
|
|
27490
27863
|
},
|
|
27491
27864
|
|
|
27492
|
-
setup(__props, {
|
|
27493
|
-
|
|
27494
|
-
|
|
27865
|
+
setup(__props, _ref) {
|
|
27866
|
+
let {
|
|
27867
|
+
expose
|
|
27868
|
+
} = _ref;
|
|
27495
27869
|
const props = __props;
|
|
27496
27870
|
let viewModel = null; // 获取组件传参
|
|
27497
27871
|
|
|
@@ -27558,8 +27932,8 @@ Hawkeye.install = (Vue, opts) => {
|
|
|
27558
27932
|
|
|
27559
27933
|
|
|
27560
27934
|
;// CONCATENATED MODULE: ./src/webgl/roller/RollerViewModel.js
|
|
27935
|
+
//卷帘逻辑类
|
|
27561
27936
|
|
|
27562
|
-
//卷帘逻辑类
|
|
27563
27937
|
class RollerViewModel {
|
|
27564
27938
|
//三维viewer对象
|
|
27565
27939
|
//图层管理对象
|
|
@@ -27760,7 +28134,7 @@ class RollerViewModel {
|
|
|
27760
28134
|
}
|
|
27761
28135
|
|
|
27762
28136
|
}
|
|
27763
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/roller/Roller.vue?vue&type=script&setup=true&lang=js
|
|
28137
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/roller/Roller.vue?vue&type=script&setup=true&lang=js
|
|
27764
28138
|
|
|
27765
28139
|
const Rollervue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
27766
28140
|
class: "kq3d-roller-form kq3d-roller-box"
|
|
@@ -27814,9 +28188,10 @@ const Rollervue_type_script_setup_true_lang_js_default_ = {
|
|
|
27814
28188
|
}
|
|
27815
28189
|
},
|
|
27816
28190
|
|
|
27817
|
-
setup(__props, {
|
|
27818
|
-
|
|
27819
|
-
|
|
28191
|
+
setup(__props, _ref) {
|
|
28192
|
+
let {
|
|
28193
|
+
expose
|
|
28194
|
+
} = _ref;
|
|
27820
28195
|
const props = __props;
|
|
27821
28196
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); //获取组件传参
|
|
27822
28197
|
// 表格头样式
|
|
@@ -28189,7 +28564,7 @@ class UndergroundViewModel {
|
|
|
28189
28564
|
}
|
|
28190
28565
|
|
|
28191
28566
|
}
|
|
28192
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/underground/Underground.vue?vue&type=script&setup=true&lang=js
|
|
28567
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/underground/Underground.vue?vue&type=script&setup=true&lang=js
|
|
28193
28568
|
|
|
28194
28569
|
const Undergroundvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
28195
28570
|
class: "kq3d-underground-switch"
|
|
@@ -28211,10 +28586,11 @@ const Undergroundvue_type_script_setup_true_lang_js_default_ = {
|
|
|
28211
28586
|
},
|
|
28212
28587
|
emits: ["undergroundChange"],
|
|
28213
28588
|
|
|
28214
|
-
setup(__props, {
|
|
28215
|
-
|
|
28216
|
-
|
|
28217
|
-
|
|
28589
|
+
setup(__props, _ref) {
|
|
28590
|
+
let {
|
|
28591
|
+
expose,
|
|
28592
|
+
emit
|
|
28593
|
+
} = _ref;
|
|
28218
28594
|
const props = __props;
|
|
28219
28595
|
const {
|
|
28220
28596
|
proxy
|
|
@@ -28318,8 +28694,8 @@ Underground.install = (Vue, opts) => {
|
|
|
28318
28694
|
|
|
28319
28695
|
|
|
28320
28696
|
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBarViewModel.js
|
|
28697
|
+
// 地图状态栏逻辑类
|
|
28321
28698
|
|
|
28322
|
-
// 地图状态栏逻辑类
|
|
28323
28699
|
class StatusBarViewModel {
|
|
28324
28700
|
constructor(viewer, options) {
|
|
28325
28701
|
_defineProperty(this, "_viewer", null);
|
|
@@ -28406,7 +28782,7 @@ class StatusBarViewModel {
|
|
|
28406
28782
|
}
|
|
28407
28783
|
|
|
28408
28784
|
}
|
|
28409
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=script&setup=true&lang=js
|
|
28785
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=script&setup=true&lang=js
|
|
28410
28786
|
|
|
28411
28787
|
|
|
28412
28788
|
|
|
@@ -28620,7 +28996,9 @@ const webglComponents = {
|
|
|
28620
28996
|
Kq3dClientPrint: ClientPrint
|
|
28621
28997
|
}; // 全局引入
|
|
28622
28998
|
|
|
28623
|
-
const install = function (Vue
|
|
28999
|
+
const install = function (Vue) {
|
|
29000
|
+
let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
29001
|
+
|
|
28624
29002
|
for (const comp in webglComponents) {
|
|
28625
29003
|
const com = webglComponents[comp];
|
|
28626
29004
|
Vue.use(com, opts);
|