@kq_npm/client3d_webgl_vue 3.6.7-beta → 3.7.0-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.
@@ -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 _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
11
+ /* harmony import */ var D_kqgis_client_vue_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,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_baseterrainGallery", {});
17
+ (0,D_kqgis_client_vue_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;
@@ -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 _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
11
+ /* harmony import */ var D_kqgis_client_vue_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,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_scenceView", null);
18
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_scenceView", null);
19
19
 
20
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
20
+ (0,D_kqgis_client_vue_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 _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
11
+ /* harmony import */ var D_kqgis_client_vue_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,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
17
+ (0,D_kqgis_client_vue_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
  } //重置方向
@@ -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 _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
11
+ /* harmony import */ var D_kqgis_client_vue_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,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
17
+ (0,D_kqgis_client_vue_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
  } //获取相机焦点
@@ -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 _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
11
+ /* harmony import */ var D_kqgis_client_vue_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,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
17
+ (0,D_kqgis_client_vue_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 _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
38
+ /* harmony import */ var D_kqgis_client_vue_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,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_animationPath", null);
45
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_animationPath", null);
46
46
 
47
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "stopEvent", null);
47
+ (0,D_kqgis_client_vue_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;
@@ -835,7 +835,7 @@ const __default__ = {
835
835
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
836
836
  size: 24
837
837
  }, {
838
- 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)(icons_vue_.Upload))]),
838
+ 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_.IconUploadCloud))]),
839
839
  _: 1
840
840
  /* STABLE */
841
841
 
@@ -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,.kq-flight3d .pathlist-ul .kq-icon{color:var(--kq-text-color-regular)}.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}.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 .pathlist-ul li:hover .menuIcon{display:block}.kq-flight3d .pathlist-ul li .menuIcon{display:none}.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}
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,.kq-flight3d .pathlist-ul .kq-icon{color:var(--kq-text-color-regular)}.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}.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 _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
11
+ /* harmony import */ var D_kqgis_client_vue_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,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_overviewMap", null);
17
+ (0,D_kqgis_client_vue_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);
package/index.js CHANGED
@@ -6931,6 +6931,12 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
6931
6931
  height: res.coordinate.height ? res.coordinate.height.toFixed(2) : 0
6932
6932
  };
6933
6933
  viewModel.stopMeasure();
6934
+
6935
+ if (res.measureResult && res.measureResult.labels && res.measureResult.labels.length > 0) {
6936
+ res.measureResult.labels._labels.forEach(label => {
6937
+ label.text = label.text.replace('X', language.value.longitude).replace('Y', language.value.latitude).replace('Z', language.value.height);
6938
+ });
6939
+ }
6934
6940
  }
6935
6941
  }
6936
6942
  });
@@ -7974,7 +7980,7 @@ const Flightvue_type_script_setup_true_lang_js_default_ = {
7974
7980
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_icon, {
7975
7981
  size: 24
7976
7982
  }, {
7977
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(icons_vue_namespaceObject.Upload))]),
7983
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(client_icons_vue_namespaceObject.IconUploadCloud))]),
7978
7984
  _: 1
7979
7985
  /* STABLE */
7980
7986
 
@@ -11434,7 +11440,7 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
11434
11440
  // 体素间距范围最小值
11435
11441
  maxSpacing: props.settingParams && props.settingParams.maxSpacing || 100,
11436
11442
  // 体素间距范围最大值
11437
- currentDate: props.settingParams && props.settingParams.currentDate || "2020-04-23",
11443
+ currentDate: props.settingParams && props.settingParams.currentDate || new Date().toLocaleDateString(),
11438
11444
  // 日期
11439
11445
  startTime: props.settingParams && props.settingParams.startTime || 12,
11440
11446
  // 开始日期
@@ -15932,9 +15938,6 @@ class SlopeAnalysisViewModel {
15932
15938
  _drawManager: null
15933
15939
  });
15934
15940
 
15935
- _defineProperty(this, "_defaultPositions", [//默认分析坐标
15936
- new Cesium.Cartesian3(320344.97912128427, 5634145.630522612, 2962308.690344629), new Cesium.Cartesian3(324448.6451820951, 5639835.805638826, 2951088.4423702545), new Cesium.Cartesian3(320344.97912128427, 5634145.630522612, 2962308.690344629)]);
15937
-
15938
15941
  _defineProperty(this, "_colorImages", [//渐变图片集合
15939
15942
  {
15940
15943
  value: "0",
@@ -16047,7 +16050,7 @@ class SlopeAnalysisViewModel {
16047
16050
  // 坡度过滤不需要进行绘制
16048
16051
  this._slopeAnalysis = new Cesium.Kq3dSlope({
16049
16052
  viewer: this._globaOptions.viewer,
16050
- positions: this._defaultPositions,
16053
+ positions: [],
16051
16054
  isFilter: true,
16052
16055
  minSlope: this._globaOptions.viewModel.minSlope,
16053
16056
  maxSlope: this._globaOptions.viewModel.maxSlope,
package/measure/index.js CHANGED
@@ -35,7 +35,7 @@ es_namespaceObject.ElMessage.install = (Vue, opts) => {
35
35
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
36
36
  /* harmony export */ "Z": function() { return /* binding */ MeasureViewModel; }
37
37
  /* harmony export */ });
38
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
38
+ /* harmony import */ var D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
39
39
 
40
40
  //测量操作类
41
41
  class MeasureViewModel {
@@ -43,13 +43,13 @@ class MeasureViewModel {
43
43
  //测量事件
44
44
  //活动事件
45
45
  constructor(viewer) {
46
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
46
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
47
47
 
48
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_measureHandler", null);
48
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_measureHandler", null);
49
49
 
50
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "measureEvent", null);
50
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "measureEvent", null);
51
51
 
52
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "activeEvent", null);
52
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "activeEvent", null);
53
53
 
54
54
  //开启深度检测
55
55
  viewer.scene.globe.depthTestAgainstTerrain = true;
@@ -577,6 +577,12 @@ const __default__ = {
577
577
  height: res.coordinate.height ? res.coordinate.height.toFixed(2) : 0
578
578
  };
579
579
  viewModel.stopMeasure();
580
+
581
+ if (res.measureResult && res.measureResult.labels && res.measureResult.labels.length > 0) {
582
+ res.measureResult.labels._labels.forEach(label => {
583
+ label.text = label.text.replace('X', language.value.longitude).replace('Y', language.value.latitude).replace('Z', language.value.height);
584
+ });
585
+ }
580
586
  }
581
587
  }
582
588
  });
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"3.6.7-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"^1.1.1","echarts":"^5.3.3","js-cookie":"^3.0.1","omit.js":"^2.0.2","save":"^2.5.0","tinycolor2":"^1.4.2","vue-i18n":"9.2.0-beta.36","xlsx":"^0.18.5","css-vars-ponyfill":"^2.4.8","html2canvas":"^1.4.1","xe-utils":"^3.5.4"}}
1
+ {"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"3.7.0-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"^1.1.1","echarts":"^5.3.3","js-cookie":"^3.0.1","omit.js":"^2.0.2","save":"^2.5.0","tinycolor2":"^1.4.2","vue-i18n":"9.2.0-beta.36","xlsx":"^0.18.5","css-vars-ponyfill":"^2.4.8","html2canvas":"^1.4.1","xe-utils":"^3.5.4"}}
@@ -8,7 +8,7 @@
8
8
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
9
  /* harmony export */ "Z": function() { return /* binding */ ProfileAnalysisViewModel; }
10
10
  /* harmony export */ });
11
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
11
+ /* harmony import */ var D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
12
12
 
13
13
  //分析逻辑类
14
14
  let floatingPoint;
@@ -21,15 +21,15 @@ class ProfileAnalysisViewModel {
21
21
  //显示结果的DOM元素显隐
22
22
  //全局参数对象
23
23
  constructor(scenceView, viewModel, chart) {
24
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_profileAnalysis", null);
24
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_profileAnalysis", null);
25
25
 
26
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_ProfileAnalysisChart", null);
26
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_ProfileAnalysisChart", null);
27
27
 
28
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_ProfileAnalysisChartVis", null);
28
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_ProfileAnalysisChartVis", null);
29
29
 
30
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_language", null);
30
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_language", null);
31
31
 
32
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_globaOptions", {
32
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_globaOptions", {
33
33
  width: 360,
34
34
  height: 360
35
35
  });
@@ -8,13 +8,13 @@
8
8
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
9
  /* harmony export */ "Z": function() { return /* binding */ ResetViewViewModel; }
10
10
  /* harmony export */ });
11
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
11
+ /* harmony import */ var D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
12
12
 
13
13
  // 重置视图
14
14
  class ResetViewViewModel {
15
15
  //三维viewer对象
16
16
  constructor(viewer) {
17
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
17
+ (0,D_kqgis_client_vue_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/roller/index.js CHANGED
@@ -8,7 +8,7 @@
8
8
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9
9
  /* harmony export */ "Z": function() { return /* binding */ RollerViewModel; }
10
10
  /* harmony export */ });
11
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
11
+ /* harmony import */ var D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
12
12
 
13
13
  //卷帘逻辑类
14
14
  class RollerViewModel {
@@ -22,23 +22,23 @@ class RollerViewModel {
22
22
  //左右卷帘活动状态
23
23
  //上下卷帘活动状态
24
24
  constructor(scenceView, options) {
25
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
25
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
26
26
 
27
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_layerManager", null);
27
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_layerManager", null);
28
28
 
29
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_layers", []);
29
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_layers", []);
30
30
 
31
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_lrSlider", null);
31
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_lrSlider", null);
32
32
 
33
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_tbSlider", null);
33
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_tbSlider", null);
34
34
 
35
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_lrSliderHandler", null);
35
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_lrSliderHandler", null);
36
36
 
37
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_tbSliderHandler", null);
37
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_tbSliderHandler", null);
38
38
 
39
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_lrSliderActive", false);
39
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_lrSliderActive", false);
40
40
 
41
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_tbSliderActive", false);
41
+ (0,D_kqgis_client_vue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_tbSliderActive", false);
42
42
 
43
43
  this._viewer = scenceView._viewer;
44
44
  this._layerManager = scenceView._layerManager;