@kq_npm/client3d_webgl_vue 3.6.4-beta → 3.6.6-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/comparemap/index.js +18 -0
- package/index.js +34 -1
- package/package.json +1 -1
- package/scenceview/index.js +34 -1
- package/terrainoperation/index.js +1 -1
package/comparemap/index.js
CHANGED
|
@@ -65,15 +65,25 @@ class CompareMapViewModel {
|
|
|
65
65
|
for (let i = 0; i < checkedLayerkeys.length; i++) {
|
|
66
66
|
let layer = this._scenceView._layerManager.getLayerByGuid(checkedLayerkeys[i]);
|
|
67
67
|
|
|
68
|
+
let type = this._scenceView._layerManager.getLayerTypeByGuid(checkedLayerkeys[i]);
|
|
69
|
+
|
|
68
70
|
if (layer) {
|
|
69
71
|
layer.showInViews = undefined;
|
|
70
72
|
}
|
|
73
|
+
|
|
74
|
+
if (type == 'datasource') {
|
|
75
|
+
layer.entities.values.forEach(entity => {
|
|
76
|
+
entity.showInViews = undefined;
|
|
77
|
+
});
|
|
78
|
+
}
|
|
71
79
|
}
|
|
72
80
|
}
|
|
73
81
|
|
|
74
82
|
setLayerState(index, guid, visible) {
|
|
75
83
|
let layer = this._scenceView._layerManager.getLayerByGuid(guid);
|
|
76
84
|
|
|
85
|
+
let type = this._scenceView._layerManager.getLayerTypeByGuid(guid);
|
|
86
|
+
|
|
77
87
|
if (layer) {
|
|
78
88
|
let showInViews = layer.showInViews || [0, 1, 2, 3];
|
|
79
89
|
|
|
@@ -88,6 +98,14 @@ class CompareMapViewModel {
|
|
|
88
98
|
}
|
|
89
99
|
|
|
90
100
|
layer.showInViews = showInViews;
|
|
101
|
+
|
|
102
|
+
if (type == 'datasource') {
|
|
103
|
+
layer.entities.values.forEach(entity => {
|
|
104
|
+
if (entity.show) {
|
|
105
|
+
entity.showInViews = showInViews;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
91
109
|
}
|
|
92
110
|
}
|
|
93
111
|
|
package/index.js
CHANGED
|
@@ -2806,6 +2806,21 @@ class LayerManager {
|
|
|
2806
2806
|
layer.imageryProvider._reload();
|
|
2807
2807
|
}
|
|
2808
2808
|
}
|
|
2809
|
+
} // 设置海图显示物标
|
|
2810
|
+
|
|
2811
|
+
|
|
2812
|
+
reLoadHaiTu(encparam) {
|
|
2813
|
+
for (var i = 0; i < this._layerListData.length; i++) {
|
|
2814
|
+
var layerData = this._layerListData[i];
|
|
2815
|
+
|
|
2816
|
+
if (layerData.layerType === 10) {
|
|
2817
|
+
var layer = this.getLayerByGuid(layerData.guid);
|
|
2818
|
+
|
|
2819
|
+
if (layer) {
|
|
2820
|
+
layer.imageryProvider.encparam = encparam;
|
|
2821
|
+
}
|
|
2822
|
+
}
|
|
2823
|
+
}
|
|
2809
2824
|
} //销毁
|
|
2810
2825
|
|
|
2811
2826
|
|
|
@@ -14081,7 +14096,7 @@ const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
|
|
|
14081
14096
|
// 地形操作类型。1:地形开挖;2:地形修改
|
|
14082
14097
|
excavationDepth: props.settingParams && props.settingParams.excavationDepth || 500,
|
|
14083
14098
|
// 地形开挖深度
|
|
14084
|
-
minExcavationDepth: props.settingParams && props.settingParams.minExcavationDepth ||
|
|
14099
|
+
minExcavationDepth: props.settingParams && props.settingParams.minExcavationDepth || 100,
|
|
14085
14100
|
// 地形开挖深度范围最小值
|
|
14086
14101
|
maxExcavationDepth: props.settingParams && props.settingParams.maxExcavationDepth || 5000 // 地形开挖深度范围最大值
|
|
14087
14102
|
|
|
@@ -25654,15 +25669,25 @@ class CompareMapViewModel {
|
|
|
25654
25669
|
for (let i = 0; i < checkedLayerkeys.length; i++) {
|
|
25655
25670
|
let layer = this._scenceView._layerManager.getLayerByGuid(checkedLayerkeys[i]);
|
|
25656
25671
|
|
|
25672
|
+
let type = this._scenceView._layerManager.getLayerTypeByGuid(checkedLayerkeys[i]);
|
|
25673
|
+
|
|
25657
25674
|
if (layer) {
|
|
25658
25675
|
layer.showInViews = undefined;
|
|
25659
25676
|
}
|
|
25677
|
+
|
|
25678
|
+
if (type == 'datasource') {
|
|
25679
|
+
layer.entities.values.forEach(entity => {
|
|
25680
|
+
entity.showInViews = undefined;
|
|
25681
|
+
});
|
|
25682
|
+
}
|
|
25660
25683
|
}
|
|
25661
25684
|
}
|
|
25662
25685
|
|
|
25663
25686
|
setLayerState(index, guid, visible) {
|
|
25664
25687
|
let layer = this._scenceView._layerManager.getLayerByGuid(guid);
|
|
25665
25688
|
|
|
25689
|
+
let type = this._scenceView._layerManager.getLayerTypeByGuid(guid);
|
|
25690
|
+
|
|
25666
25691
|
if (layer) {
|
|
25667
25692
|
let showInViews = layer.showInViews || [0, 1, 2, 3];
|
|
25668
25693
|
|
|
@@ -25677,6 +25702,14 @@ class CompareMapViewModel {
|
|
|
25677
25702
|
}
|
|
25678
25703
|
|
|
25679
25704
|
layer.showInViews = showInViews;
|
|
25705
|
+
|
|
25706
|
+
if (type == 'datasource') {
|
|
25707
|
+
layer.entities.values.forEach(entity => {
|
|
25708
|
+
if (entity.show) {
|
|
25709
|
+
entity.showInViews = showInViews;
|
|
25710
|
+
}
|
|
25711
|
+
});
|
|
25712
|
+
}
|
|
25680
25713
|
}
|
|
25681
25714
|
}
|
|
25682
25715
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"3.6.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"3.6.6-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"}}
|
package/scenceview/index.js
CHANGED
|
@@ -6032,15 +6032,25 @@ class CompareMapViewModel {
|
|
|
6032
6032
|
for (let i = 0; i < checkedLayerkeys.length; i++) {
|
|
6033
6033
|
let layer = this._scenceView._layerManager.getLayerByGuid(checkedLayerkeys[i]);
|
|
6034
6034
|
|
|
6035
|
+
let type = this._scenceView._layerManager.getLayerTypeByGuid(checkedLayerkeys[i]);
|
|
6036
|
+
|
|
6035
6037
|
if (layer) {
|
|
6036
6038
|
layer.showInViews = undefined;
|
|
6037
6039
|
}
|
|
6040
|
+
|
|
6041
|
+
if (type == 'datasource') {
|
|
6042
|
+
layer.entities.values.forEach(entity => {
|
|
6043
|
+
entity.showInViews = undefined;
|
|
6044
|
+
});
|
|
6045
|
+
}
|
|
6038
6046
|
}
|
|
6039
6047
|
}
|
|
6040
6048
|
|
|
6041
6049
|
setLayerState(index, guid, visible) {
|
|
6042
6050
|
let layer = this._scenceView._layerManager.getLayerByGuid(guid);
|
|
6043
6051
|
|
|
6052
|
+
let type = this._scenceView._layerManager.getLayerTypeByGuid(guid);
|
|
6053
|
+
|
|
6044
6054
|
if (layer) {
|
|
6045
6055
|
let showInViews = layer.showInViews || [0, 1, 2, 3];
|
|
6046
6056
|
|
|
@@ -6055,6 +6065,14 @@ class CompareMapViewModel {
|
|
|
6055
6065
|
}
|
|
6056
6066
|
|
|
6057
6067
|
layer.showInViews = showInViews;
|
|
6068
|
+
|
|
6069
|
+
if (type == 'datasource') {
|
|
6070
|
+
layer.entities.values.forEach(entity => {
|
|
6071
|
+
if (entity.show) {
|
|
6072
|
+
entity.showInViews = showInViews;
|
|
6073
|
+
}
|
|
6074
|
+
});
|
|
6075
|
+
}
|
|
6058
6076
|
}
|
|
6059
6077
|
}
|
|
6060
6078
|
|
|
@@ -23200,7 +23218,7 @@ const __default__ = {
|
|
|
23200
23218
|
// 地形操作类型。1:地形开挖;2:地形修改
|
|
23201
23219
|
excavationDepth: props.settingParams && props.settingParams.excavationDepth || 500,
|
|
23202
23220
|
// 地形开挖深度
|
|
23203
|
-
minExcavationDepth: props.settingParams && props.settingParams.minExcavationDepth ||
|
|
23221
|
+
minExcavationDepth: props.settingParams && props.settingParams.minExcavationDepth || 100,
|
|
23204
23222
|
// 地形开挖深度范围最小值
|
|
23205
23223
|
maxExcavationDepth: props.settingParams && props.settingParams.maxExcavationDepth || 5000 // 地形开挖深度范围最大值
|
|
23206
23224
|
|
|
@@ -28123,6 +28141,21 @@ class LayerManager {
|
|
|
28123
28141
|
layer.imageryProvider._reload();
|
|
28124
28142
|
}
|
|
28125
28143
|
}
|
|
28144
|
+
} // 设置海图显示物标
|
|
28145
|
+
|
|
28146
|
+
|
|
28147
|
+
reLoadHaiTu(encparam) {
|
|
28148
|
+
for (var i = 0; i < this._layerListData.length; i++) {
|
|
28149
|
+
var layerData = this._layerListData[i];
|
|
28150
|
+
|
|
28151
|
+
if (layerData.layerType === 10) {
|
|
28152
|
+
var layer = this.getLayerByGuid(layerData.guid);
|
|
28153
|
+
|
|
28154
|
+
if (layer) {
|
|
28155
|
+
layer.imageryProvider.encparam = encparam;
|
|
28156
|
+
}
|
|
28157
|
+
}
|
|
28158
|
+
}
|
|
28126
28159
|
} //销毁
|
|
28127
28160
|
|
|
28128
28161
|
|
|
@@ -477,7 +477,7 @@ const __default__ = {
|
|
|
477
477
|
// 地形操作类型。1:地形开挖;2:地形修改
|
|
478
478
|
excavationDepth: props.settingParams && props.settingParams.excavationDepth || 500,
|
|
479
479
|
// 地形开挖深度
|
|
480
|
-
minExcavationDepth: props.settingParams && props.settingParams.minExcavationDepth ||
|
|
480
|
+
minExcavationDepth: props.settingParams && props.settingParams.minExcavationDepth || 100,
|
|
481
481
|
// 地形开挖深度范围最小值
|
|
482
482
|
maxExcavationDepth: props.settingParams && props.settingParams.maxExcavationDepth || 5000 // 地形开挖深度范围最大值
|
|
483
483
|
|