@kq_npm/client3d_webgl_vue 3.7.0-beta → 3.7.2-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/baseterraingallery/index.js +2 -2
- package/comparemap/index.js +3 -3
- package/compass/index.js +2 -2
- package/fixedzoomin/index.js +2 -2
- package/fixedzoomout/index.js +2 -2
- package/flight/index.js +20 -14
- package/flight/style/flight.css +1 -1
- package/hawkeye/index.js +2 -2
- package/index.js +307 -49
- package/measure/index.js +7 -7
- package/package.json +1 -1
- package/profileanalysis/index.js +6 -6
- package/resetview/index.js +2 -2
- package/roller/index.js +10 -10
- package/scenceview/index.js +357 -99
- package/screenshot/index.js +4 -4
- package/style.css +1 -1
- package/underground/index.js +3 -3
- package/viewshedanalysis/index.js +4 -4
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
/* harmony export */ "Z": function() { return /* binding */ BaseterrainGalleryViewModel; }
|
|
10
10
|
/* harmony export */ });
|
|
11
|
-
/* harmony import */ var
|
|
11
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
12
12
|
|
|
13
13
|
//地形淹没分析逻辑类
|
|
14
14
|
class BaseterrainGalleryViewModel {
|
|
15
15
|
//基本地形对象
|
|
16
16
|
constructor(viewer) {
|
|
17
|
-
(0,
|
|
17
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_baseterrainGallery", {});
|
|
18
18
|
|
|
19
19
|
this._baseterrainGallery.viewer = viewer;
|
|
20
20
|
this._baseterrainGallery.viewer.scene.globe.depthTestAgainstTerrain = false;
|
package/comparemap/index.js
CHANGED
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
/* harmony export */ "Z": function() { return /* binding */ CompareMapViewModel; }
|
|
10
10
|
/* harmony export */ });
|
|
11
|
-
/* harmony import */ var
|
|
11
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
12
12
|
|
|
13
13
|
//多窗口逻辑类
|
|
14
14
|
class CompareMapViewModel {
|
|
15
15
|
// 三维视图对象
|
|
16
16
|
//三维viewer对象
|
|
17
17
|
constructor(scenceView) {
|
|
18
|
-
(0,
|
|
18
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_scenceView", null);
|
|
19
19
|
|
|
20
|
-
(0,
|
|
20
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
21
21
|
|
|
22
22
|
this._scenceView = scenceView;
|
|
23
23
|
this._viewer = scenceView._viewer;
|
package/compass/index.js
CHANGED
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
/* harmony export */ "Z": function() { return /* binding */ CompassViewModel; }
|
|
10
10
|
/* harmony export */ });
|
|
11
|
-
/* harmony import */ var
|
|
11
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
12
12
|
|
|
13
13
|
// 重置视图
|
|
14
14
|
class CompassViewModel {
|
|
15
15
|
//三维viewer对象
|
|
16
16
|
constructor(viewer) {
|
|
17
|
-
(0,
|
|
17
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
18
18
|
|
|
19
19
|
this._viewer = viewer;
|
|
20
20
|
} //重置方向
|
package/fixedzoomin/index.js
CHANGED
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
/* harmony export */ "Z": function() { return /* binding */ FixedZoomin3dViewModel; }
|
|
10
10
|
/* harmony export */ });
|
|
11
|
-
/* harmony import */ var
|
|
11
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
12
12
|
|
|
13
13
|
// 三维固定缩放逻辑
|
|
14
14
|
class FixedZoomin3dViewModel {
|
|
15
15
|
//三维viewer对象
|
|
16
16
|
constructor(viewer) {
|
|
17
|
-
(0,
|
|
17
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
18
18
|
|
|
19
19
|
this._viewer = viewer;
|
|
20
20
|
} //获取相机焦点
|
package/fixedzoomout/index.js
CHANGED
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
/* harmony export */ "Z": function() { return /* binding */ FixedZoomout3dViewModel; }
|
|
10
10
|
/* harmony export */ });
|
|
11
|
-
/* harmony import */ var
|
|
11
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
12
12
|
|
|
13
13
|
// 三维固定缩放逻辑
|
|
14
14
|
class FixedZoomout3dViewModel {
|
|
15
15
|
//三维viewer对象
|
|
16
16
|
constructor(viewer) {
|
|
17
|
-
(0,
|
|
17
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
18
18
|
|
|
19
19
|
this._viewer = viewer;
|
|
20
20
|
} //获取相机焦点
|
package/flight/index.js
CHANGED
|
@@ -35,16 +35,16 @@ es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
|
35
35
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36
36
|
/* harmony export */ "Z": function() { return /* binding */ FlightViewModel; }
|
|
37
37
|
/* harmony export */ });
|
|
38
|
-
/* harmony import */ var
|
|
38
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
39
39
|
|
|
40
40
|
//飞行操作类
|
|
41
41
|
class FlightViewModel {
|
|
42
42
|
//飞行三维对象
|
|
43
43
|
//停止事件
|
|
44
44
|
constructor(viewer) {
|
|
45
|
-
(0,
|
|
45
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_animationPath", null);
|
|
46
46
|
|
|
47
|
-
(0,
|
|
47
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "stopEvent", null);
|
|
48
48
|
|
|
49
49
|
this._animationPath = new Cesium.Kq3dAnimationPath(viewer);
|
|
50
50
|
this.stopEvent = this._animationPath.stoped;
|
|
@@ -451,6 +451,7 @@ const __default__ = {
|
|
|
451
451
|
dataList = JSON.parse(JSON.stringify(dataList));
|
|
452
452
|
dataList.forEach(path => {
|
|
453
453
|
path.isPlaying = false;
|
|
454
|
+
path.isRepeat = false;
|
|
454
455
|
pathList.push(path);
|
|
455
456
|
});
|
|
456
457
|
});
|
|
@@ -536,7 +537,9 @@ const __default__ = {
|
|
|
536
537
|
}
|
|
537
538
|
|
|
538
539
|
viewModel.play();
|
|
539
|
-
item.isPlaying = true;
|
|
540
|
+
item.isPlaying = true; // 设置循环播放
|
|
541
|
+
|
|
542
|
+
viewModel.setAutoRepeat(item.isRepeat);
|
|
540
543
|
} //路径播放暂停
|
|
541
544
|
|
|
542
545
|
|
|
@@ -552,9 +555,12 @@ const __default__ = {
|
|
|
552
555
|
} //循环播放
|
|
553
556
|
|
|
554
557
|
|
|
555
|
-
function repeat() {
|
|
556
|
-
|
|
557
|
-
|
|
558
|
+
function repeat(item) {
|
|
559
|
+
item.isRepeat = !item.isRepeat;
|
|
560
|
+
|
|
561
|
+
if (item.isPlaying) {
|
|
562
|
+
viewModel.setAutoRepeat(item.isRepeat);
|
|
563
|
+
}
|
|
558
564
|
} //显示更多功能菜单
|
|
559
565
|
|
|
560
566
|
|
|
@@ -901,17 +907,17 @@ const __default__ = {
|
|
|
901
907
|
/* PROPS, DYNAMIC_SLOTS */
|
|
902
908
|
, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
903
909
|
size: 16,
|
|
904
|
-
class:
|
|
905
|
-
onClick: repeat,
|
|
910
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(item.isRepeat ? 'kq-icon-light' : ''),
|
|
911
|
+
onClick: $event => repeat(item),
|
|
906
912
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).repeat
|
|
907
913
|
}, {
|
|
908
914
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconVideoRepeat))]),
|
|
909
|
-
_:
|
|
910
|
-
/*
|
|
915
|
+
_: 2
|
|
916
|
+
/* DYNAMIC */
|
|
911
917
|
|
|
912
|
-
},
|
|
913
|
-
/* PROPS */
|
|
914
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
918
|
+
}, 1032
|
|
919
|
+
/* PROPS, DYNAMIC_SLOTS */
|
|
920
|
+
, ["class", "onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
915
921
|
size: 16,
|
|
916
922
|
class: "menuIcon",
|
|
917
923
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => showDropDownMenu(item, index), ["prevent", "stop"]),
|
package/flight/style/flight.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.kq-flight3d{z-index:999;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq-flight3d .kq-flight3d-box{width:466px}.kq-flight3d p{margin:0}.kq-flight3d .kq-flight3d-btns{display:-webkit-box;display:-ms-flexbox;display:flex}.kq-flight3d .kq-flight3d-btns .kq-button{width:48px;height:48px;margin-right:12px}.kq-flight3d .kq-flight3d-btns .kq-button .kq-icon{color:var(--kq-color-primary)}.kq-flight3d .pathlist-ul{height:100%;margin-top:0;margin-bottom:0;border-right:none}.kq-flight3d .pathlist-ul
|
|
1
|
+
.kq-flight3d{z-index:999;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq-flight3d .kq-flight3d-box{width:466px}.kq-flight3d p{margin:0}.kq-flight3d .kq-flight3d-btns{display:-webkit-box;display:-ms-flexbox;display:flex}.kq-flight3d .kq-flight3d-btns .kq-button{width:48px;height:48px;margin-right:12px}.kq-flight3d .kq-flight3d-btns .kq-button .kq-icon{color:var(--kq-color-primary)}.kq-flight3d .pathlist-ul{color:var(--kq-text-color-regular);height:100%;margin-top:0;margin-bottom:0;border-right:none}.kq-flight3d .pathlist-ul .kq-icon{color:var(--kq-text-color-regular);cursor:pointer}.kq-flight3d .pathlist-ul .kq-icon-light{color:var(--kq-color-primary)}.kq-flight3d .pathlist-ul li{position:relative;height:32px;line-height:32px;list-style-type:none;border-bottom:var(--kq-border-width) var(--kq-border-style) var(--kq-border-color);padding:0!important;cursor:unset}.kq-flight3d .pathlist-ul li span{text-indent:8px;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;width:100%}.kq-flight3d .dropdown-ul{width:84px;background-color:var(--kq-bg-color);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:var(--kq-box-shadow);box-shadow:var(--kq-box-shadow);text-align:center;position:fixed;z-index:9999999;border-right:none;padding:8px 0}.kq-flight3d .dropdown-ul .kq-icon{color:var(--kq-text-color-regular)}.kq-flight3d .dropdown-ul li{height:30px;padding-left:12px!important}.kq-flight3d .kq-flight3d-list-title{line-height:24px;margin:8px 0;text-align:center}.kq-flight3d .kq-flight3d-add-title,.kq-flight3d .kq-flight3d-list-title{color:var(--kq-text-color-primary);background:var(--kq-fill-color-light);font-size:16px;padding:12px 16px;font-weight:700}.kq-flight3d .kq-flight3d-add-title .kq-button{height:22px;padding:0 12px 0 0}.kq-flight3d .kq-flight3d-add-title .kq-icon{color:var(--kq-text-color-regular)}.kq-flight3d .kq-flight3d-item-name{color:var(--kq-text-color-regular);margin:8px 0}.kq-flight3d .kq-table .cell{padding:0 8px}.kq-flight3d .kq-table .kq-button{width:32px;height:32px}.kq-flight3d .kq-table .kq-button+.kq-button{margin-left:8px}.kq-flight3d .kq-table .kq-icon{color:var(--kq-text-color-regular)}.kq-flight3d .kq-flight3d-btn-add{margin:8px 0;width:100%;color:var(--kq-color-primary)}.kq-flight3d .kq-flight3d-btn-add .kq-icon{color:var(--kq-text-color-regular);margin-right:10px}.kq-flight3d .kq-flight3d-ybf{color:var(--kq-text-color-regular);background:var(--kq-fill-color-light);font-size:var(--kq-font-size-base);line-height:32px;padding:12px 16px;margin-bottom:8px!important}.kq-flight3d .kq-flight3d-ybf .kq-form-item__content{height:32px}.kq-flight3d .kq-flight3d-ybf .kq-form-item__content div{width:100%;text-align:center}.kq-flight3d .kq-flight3d-ybf .kq-icon{color:var(--kq-text-color-regular);margin:0 12px;cursor:pointer}.kq-flight3d .kq-divider{margin:0 0 16px}
|
package/hawkeye/index.js
CHANGED
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
/* harmony export */ "Z": function() { return /* binding */ HawkeyeViewModel; }
|
|
10
10
|
/* harmony export */ });
|
|
11
|
-
/* harmony import */ var
|
|
11
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
12
12
|
|
|
13
13
|
//鹰眼逻辑类
|
|
14
14
|
class HawkeyeViewModel {
|
|
15
15
|
//鹰眼三维对象
|
|
16
16
|
constructor(scenceView, options) {
|
|
17
|
-
(0,
|
|
17
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_overviewMap", null);
|
|
18
18
|
|
|
19
19
|
options.viewer = scenceView._viewer;
|
|
20
20
|
options.centerRectColor = Cesium.Color.fromCssColorString(options.centerColor || "#0000ff").withAlpha(options.centerColorAlpha || 0.5);
|