@kq_npm/client3d_webgl_vue 2.4.6-beta → 2.4.8-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/excavatefillanalysis/index.js +14 -10
- package/floodanalysis/index.js +62 -40
- package/gpuspatialquery/index.js +46 -55
- package/index.js +332 -308
- package/package.json +1 -1
- package/profileanalysis/index.js +49 -54
- package/shadowanalysis/index.js +77 -75
- package/skylineanalysis/index.js +35 -26
- package/terrainoperation/index.js +16 -10
- package/viewshedanalysis/index.js +33 -40
package/index.js
CHANGED
|
@@ -5774,38 +5774,6 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5774
5774
|
}
|
|
5775
5775
|
|
|
5776
5776
|
},
|
|
5777
|
-
minScale: {
|
|
5778
|
-
type: Number,
|
|
5779
|
-
default: 0.1
|
|
5780
|
-
},
|
|
5781
|
-
maxScale: {
|
|
5782
|
-
type: Number,
|
|
5783
|
-
default: 10
|
|
5784
|
-
},
|
|
5785
|
-
minXRotate: {
|
|
5786
|
-
type: Number,
|
|
5787
|
-
default: 0
|
|
5788
|
-
},
|
|
5789
|
-
maxXRotate: {
|
|
5790
|
-
type: Number,
|
|
5791
|
-
default: 120
|
|
5792
|
-
},
|
|
5793
|
-
minYRotate: {
|
|
5794
|
-
type: Number,
|
|
5795
|
-
default: 0
|
|
5796
|
-
},
|
|
5797
|
-
maxYRotate: {
|
|
5798
|
-
type: Number,
|
|
5799
|
-
default: 90
|
|
5800
|
-
},
|
|
5801
|
-
minZRotate: {
|
|
5802
|
-
type: Number,
|
|
5803
|
-
default: 0
|
|
5804
|
-
},
|
|
5805
|
-
maxZRotate: {
|
|
5806
|
-
type: Number,
|
|
5807
|
-
default: 90
|
|
5808
|
-
},
|
|
5809
5777
|
// 设置参数
|
|
5810
5778
|
settingParams: {
|
|
5811
5779
|
type: Object
|
|
@@ -5821,29 +5789,50 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5821
5789
|
|
|
5822
5790
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
5823
5791
|
volumeType: props.volumeType || 0,
|
|
5792
|
+
// 查询体类型
|
|
5824
5793
|
positionMode: props.positionMode || 0,
|
|
5794
|
+
// 空间关系
|
|
5825
5795
|
scale: props.settingParams && props.settingParams.scale || 1,
|
|
5796
|
+
// 查询体缩放
|
|
5797
|
+
minScale: props.settingParams && props.settingParams.minScale || 0.1,
|
|
5798
|
+
// 查询体缩放最小值
|
|
5799
|
+
maxScale: props.settingParams && props.settingParams.maxScale || 10,
|
|
5800
|
+
// 查询体缩放最大值
|
|
5826
5801
|
xRotate: props.settingParams && props.settingParams.xRotate || 0,
|
|
5802
|
+
// 绕X轴旋转
|
|
5803
|
+
minXRotate: props.settingParams && props.settingParams.minXRotate || 0,
|
|
5804
|
+
// 绕X轴旋转最小值
|
|
5805
|
+
maxXRotate: props.settingParams && props.settingParams.maxXRotate || 120,
|
|
5806
|
+
// 绕X轴旋转最大值
|
|
5827
5807
|
yRotate: props.settingParams && props.settingParams.yRotate || 0,
|
|
5828
|
-
|
|
5808
|
+
// 绕Y轴旋转
|
|
5809
|
+
minYRotate: props.settingParams && props.settingParams.minYRotate || 0,
|
|
5810
|
+
// 绕Y轴旋转最小值
|
|
5811
|
+
maxYRotate: props.settingParams && props.settingParams.maxYRotate || 90,
|
|
5812
|
+
// 绕Y轴旋转最大值
|
|
5813
|
+
zRotate: props.settingParams && props.settingParams.zRotate || 0,
|
|
5814
|
+
// 绕Z轴旋转
|
|
5815
|
+
minZRotate: props.settingParams && props.settingParams.minZRotate || 0,
|
|
5816
|
+
// 绕Z轴旋转最小值
|
|
5817
|
+
maxZRotate: props.settingParams && props.settingParams.maxZRotate || 90 // 绕Z轴旋转最大值
|
|
5818
|
+
|
|
5829
5819
|
});
|
|
5830
5820
|
let viewModel = null;
|
|
5831
5821
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
5832
5822
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
5833
5823
|
if (scenceView) {
|
|
5834
5824
|
language.value = scenceView._language;
|
|
5835
|
-
|
|
5825
|
+
viewModel = new GPUSpatialQueryViewModel(scenceView, {
|
|
5836
5826
|
volumeType: formItem.volumeType,
|
|
5837
5827
|
positionMode: formItem.positionMode,
|
|
5838
5828
|
scale: formItem.scale,
|
|
5839
5829
|
xAngle: formItem.xRotate,
|
|
5840
5830
|
yAngle: formItem.yRotate,
|
|
5841
5831
|
zAngle: formItem.zRotate
|
|
5842
|
-
};
|
|
5843
|
-
viewModel = new GPUSpatialQueryViewModel(scenceView, options);
|
|
5832
|
+
});
|
|
5844
5833
|
}
|
|
5845
5834
|
});
|
|
5846
|
-
});
|
|
5835
|
+
}); // 参数切换
|
|
5847
5836
|
|
|
5848
5837
|
function paramsChanged(key) {
|
|
5849
5838
|
switch (key) {
|
|
@@ -5874,11 +5863,13 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
5874
5863
|
default:
|
|
5875
5864
|
break;
|
|
5876
5865
|
}
|
|
5877
|
-
}
|
|
5866
|
+
} // 查询
|
|
5867
|
+
|
|
5878
5868
|
|
|
5879
5869
|
function query() {
|
|
5880
5870
|
viewModel && viewModel.start();
|
|
5881
|
-
}
|
|
5871
|
+
} // 重置
|
|
5872
|
+
|
|
5882
5873
|
|
|
5883
5874
|
function reset() {
|
|
5884
5875
|
viewModel && viewModel.clear();
|
|
@@ -6051,8 +6042,8 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6051
6042
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).scale,
|
|
6052
6043
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).scale = $event),
|
|
6053
6044
|
step: 0.1,
|
|
6054
|
-
min:
|
|
6055
|
-
max:
|
|
6045
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minScale,
|
|
6046
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxScale,
|
|
6056
6047
|
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('scale'))
|
|
6057
6048
|
}, null, 8
|
|
6058
6049
|
/* PROPS */
|
|
@@ -6066,8 +6057,8 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6066
6057
|
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_input_number, {
|
|
6067
6058
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).scale,
|
|
6068
6059
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).scale = $event),
|
|
6069
|
-
min:
|
|
6070
|
-
max:
|
|
6060
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minScale,
|
|
6061
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxScale,
|
|
6071
6062
|
step: 0.1,
|
|
6072
6063
|
"controls-position": "right",
|
|
6073
6064
|
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('scale'))
|
|
@@ -6107,8 +6098,8 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6107
6098
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).xRotate,
|
|
6108
6099
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).xRotate = $event),
|
|
6109
6100
|
step: 1,
|
|
6110
|
-
min:
|
|
6111
|
-
max:
|
|
6101
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minXRotate,
|
|
6102
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxXRotate,
|
|
6112
6103
|
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('xRotate'))
|
|
6113
6104
|
}, null, 8
|
|
6114
6105
|
/* PROPS */
|
|
@@ -6122,8 +6113,8 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6122
6113
|
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_input_number, {
|
|
6123
6114
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).xRotate,
|
|
6124
6115
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).xRotate = $event),
|
|
6125
|
-
min:
|
|
6126
|
-
max:
|
|
6116
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minXRotate,
|
|
6117
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxXRotate,
|
|
6127
6118
|
step: 1,
|
|
6128
6119
|
"controls-position": "right",
|
|
6129
6120
|
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('xRotate'))
|
|
@@ -6163,8 +6154,8 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6163
6154
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).yRotate,
|
|
6164
6155
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).yRotate = $event),
|
|
6165
6156
|
step: 1,
|
|
6166
|
-
min:
|
|
6167
|
-
max:
|
|
6157
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minXRotate,
|
|
6158
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxXRotate,
|
|
6168
6159
|
onInput: _cache[13] || (_cache[13] = $event => paramsChanged('yRotate'))
|
|
6169
6160
|
}, null, 8
|
|
6170
6161
|
/* PROPS */
|
|
@@ -6178,8 +6169,8 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6178
6169
|
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_input_number, {
|
|
6179
6170
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).yRotate,
|
|
6180
6171
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).yRotate = $event),
|
|
6181
|
-
min:
|
|
6182
|
-
max:
|
|
6172
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minXRotate,
|
|
6173
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxXRotate,
|
|
6183
6174
|
step: 1,
|
|
6184
6175
|
"controls-position": "right",
|
|
6185
6176
|
onInput: _cache[15] || (_cache[15] = $event => paramsChanged('yRotate'))
|
|
@@ -6219,8 +6210,8 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6219
6210
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).zRotate,
|
|
6220
6211
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).zRotate = $event),
|
|
6221
6212
|
step: 1,
|
|
6222
|
-
min:
|
|
6223
|
-
max:
|
|
6213
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minZRotate,
|
|
6214
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxZRotate,
|
|
6224
6215
|
onInput: _cache[17] || (_cache[17] = $event => paramsChanged('zRotate'))
|
|
6225
6216
|
}, null, 8
|
|
6226
6217
|
/* PROPS */
|
|
@@ -6234,8 +6225,8 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
6234
6225
|
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_input_number, {
|
|
6235
6226
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).zRotate,
|
|
6236
6227
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).zRotate = $event),
|
|
6237
|
-
min:
|
|
6238
|
-
max:
|
|
6228
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minZRotate,
|
|
6229
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxZRotate,
|
|
6239
6230
|
step: 1,
|
|
6240
6231
|
"controls-position": "right",
|
|
6241
6232
|
onInput: _cache[19] || (_cache[19] = $event => paramsChanged('zRotate'))
|
|
@@ -7332,30 +7323,6 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7332
7323
|
};
|
|
7333
7324
|
/* harmony default export */ var ViewshedAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(ViewshedAnalysisvue_type_script_setup_true_lang_js_default_, {
|
|
7334
7325
|
props: {
|
|
7335
|
-
minOffsetHeight: {
|
|
7336
|
-
type: Number,
|
|
7337
|
-
default: 0
|
|
7338
|
-
},
|
|
7339
|
-
maxOffsetHeight: {
|
|
7340
|
-
type: Number,
|
|
7341
|
-
default: 100
|
|
7342
|
-
},
|
|
7343
|
-
minFovV: {
|
|
7344
|
-
type: Number,
|
|
7345
|
-
default: 0
|
|
7346
|
-
},
|
|
7347
|
-
maxFovV: {
|
|
7348
|
-
type: Number,
|
|
7349
|
-
default: 90
|
|
7350
|
-
},
|
|
7351
|
-
minFovH: {
|
|
7352
|
-
type: Number,
|
|
7353
|
-
default: 0
|
|
7354
|
-
},
|
|
7355
|
-
maxFovH: {
|
|
7356
|
-
type: Number,
|
|
7357
|
-
default: 180
|
|
7358
|
-
},
|
|
7359
7326
|
// 设置参数
|
|
7360
7327
|
settingParams: {
|
|
7361
7328
|
type: Object
|
|
@@ -7375,10 +7342,27 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7375
7342
|
|
|
7376
7343
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
7377
7344
|
offsetHeight: props.settingParams && props.settingParams.offsetHeight || 1.8,
|
|
7345
|
+
// 视点高
|
|
7346
|
+
minOffsetHeight: props.settingParams && props.settingParams.minOffsetHeight || 0,
|
|
7347
|
+
// 视点高范围最小值
|
|
7348
|
+
maxOffsetHeight: props.settingParams && props.settingParams.maxOffsetHeight || 100,
|
|
7349
|
+
// 视点高范围最大值
|
|
7378
7350
|
fovV: props.settingParams && props.settingParams.fovV || 60,
|
|
7351
|
+
// 垂直张角
|
|
7352
|
+
minFovV: props.settingParams && props.settingParams.minFovV || 0,
|
|
7353
|
+
// 垂直张角范围最小值
|
|
7354
|
+
maxFovV: props.settingParams && props.settingParams.maxFovV || 90,
|
|
7355
|
+
// 垂直张角范围最大值
|
|
7379
7356
|
fovH: props.settingParams && props.settingParams.fovH || 120,
|
|
7357
|
+
// 水平张角范围
|
|
7358
|
+
minFovH: props.settingParams && props.settingParams.minFovH || 0,
|
|
7359
|
+
// 水平张角范围最小值
|
|
7360
|
+
maxFovH: props.settingParams && props.settingParams.maxFovH || 180,
|
|
7361
|
+
// 水平张角范围最大值
|
|
7380
7362
|
visibleColor: props.settingParams && props.settingParams.visibleColor || "#409EFF",
|
|
7363
|
+
// 可见颜色
|
|
7381
7364
|
invisibleColor: props.settingParams && props.settingParams.invisibleColor || "#F56C6C",
|
|
7365
|
+
// 不可见颜色
|
|
7382
7366
|
lineColor: props.settingParams && props.settingParams.lineColor || "#E6A23C"
|
|
7383
7367
|
});
|
|
7384
7368
|
let viewModel = null;
|
|
@@ -7388,14 +7372,14 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7388
7372
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
7389
7373
|
if (scenceView) {
|
|
7390
7374
|
language.value = scenceView._language;
|
|
7391
|
-
|
|
7375
|
+
viewModel = new ViewshedAnalysisViewModel(scenceView, {
|
|
7392
7376
|
offsetHeight: formItem.offsetHeight,
|
|
7393
7377
|
fovV: formItem.fovV,
|
|
7394
7378
|
fovH: formItem.fovH,
|
|
7395
7379
|
visibleColor: formItem.visibleColor,
|
|
7396
|
-
invisibleColor: formItem.invisibleColor
|
|
7397
|
-
|
|
7398
|
-
|
|
7380
|
+
invisibleColor: formItem.invisibleColor,
|
|
7381
|
+
lineColor: "#E6A23C"
|
|
7382
|
+
});
|
|
7399
7383
|
}
|
|
7400
7384
|
});
|
|
7401
7385
|
});
|
|
@@ -7507,8 +7491,8 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7507
7491
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).offsetHeight,
|
|
7508
7492
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).offsetHeight = $event),
|
|
7509
7493
|
step: 1,
|
|
7510
|
-
min:
|
|
7511
|
-
max:
|
|
7494
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minOffsetHeight,
|
|
7495
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxOffsetHeight,
|
|
7512
7496
|
onInput: _cache[1] || (_cache[1] = $event => paramsChanged('height'))
|
|
7513
7497
|
}, null, 8
|
|
7514
7498
|
/* PROPS */
|
|
@@ -7522,8 +7506,8 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7522
7506
|
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_input_number, {
|
|
7523
7507
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).offsetHeight,
|
|
7524
7508
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).offsetHeight = $event),
|
|
7525
|
-
min:
|
|
7526
|
-
max:
|
|
7509
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minOffsetHeight,
|
|
7510
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxOffsetHeight,
|
|
7527
7511
|
step: 1,
|
|
7528
7512
|
"controls-position": "right",
|
|
7529
7513
|
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('height'))
|
|
@@ -7563,8 +7547,8 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7563
7547
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovV,
|
|
7564
7548
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovV = $event),
|
|
7565
7549
|
step: 1,
|
|
7566
|
-
min:
|
|
7567
|
-
max:
|
|
7550
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFovV,
|
|
7551
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFovV,
|
|
7568
7552
|
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('fovV'))
|
|
7569
7553
|
}, null, 8
|
|
7570
7554
|
/* PROPS */
|
|
@@ -7578,8 +7562,8 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7578
7562
|
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_input_number, {
|
|
7579
7563
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovV,
|
|
7580
7564
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovV = $event),
|
|
7581
|
-
min:
|
|
7582
|
-
max:
|
|
7565
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFovV,
|
|
7566
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFovV,
|
|
7583
7567
|
step: 1,
|
|
7584
7568
|
"controls-position": "right",
|
|
7585
7569
|
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('fovV'))
|
|
@@ -7619,8 +7603,8 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7619
7603
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovH,
|
|
7620
7604
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovH = $event),
|
|
7621
7605
|
step: 1,
|
|
7622
|
-
min:
|
|
7623
|
-
max:
|
|
7606
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFovH,
|
|
7607
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFovH,
|
|
7624
7608
|
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('fovH'))
|
|
7625
7609
|
}, null, 8
|
|
7626
7610
|
/* PROPS */
|
|
@@ -7634,8 +7618,8 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7634
7618
|
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_input_number, {
|
|
7635
7619
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovH,
|
|
7636
7620
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovH = $event),
|
|
7637
|
-
min:
|
|
7638
|
-
max:
|
|
7621
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFovH,
|
|
7622
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFovH,
|
|
7639
7623
|
step: 1,
|
|
7640
7624
|
"controls-position": "right",
|
|
7641
7625
|
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('fovH'))
|
|
@@ -8026,54 +8010,6 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8026
8010
|
};
|
|
8027
8011
|
/* harmony default export */ var ShadowAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(ShadowAnalysisvue_type_script_setup_true_lang_js_default_, {
|
|
8028
8012
|
props: {
|
|
8029
|
-
minExtrudeHeight: {
|
|
8030
|
-
type: Number,
|
|
8031
|
-
default: 0
|
|
8032
|
-
},
|
|
8033
|
-
maxExtrudeHeight: {
|
|
8034
|
-
type: Number,
|
|
8035
|
-
default: 500
|
|
8036
|
-
},
|
|
8037
|
-
minBaseHeight: {
|
|
8038
|
-
type: Number,
|
|
8039
|
-
default: 0
|
|
8040
|
-
},
|
|
8041
|
-
maxBaseHeight: {
|
|
8042
|
-
type: Number,
|
|
8043
|
-
default: 100
|
|
8044
|
-
},
|
|
8045
|
-
minWidth: {
|
|
8046
|
-
type: Number,
|
|
8047
|
-
default: 0
|
|
8048
|
-
},
|
|
8049
|
-
maxWidth: {
|
|
8050
|
-
type: Number,
|
|
8051
|
-
default: 100
|
|
8052
|
-
},
|
|
8053
|
-
minSpacing: {
|
|
8054
|
-
type: Number,
|
|
8055
|
-
default: 0
|
|
8056
|
-
},
|
|
8057
|
-
maxSpacing: {
|
|
8058
|
-
type: Number,
|
|
8059
|
-
default: 100
|
|
8060
|
-
},
|
|
8061
|
-
minFilterValue: {
|
|
8062
|
-
type: Number,
|
|
8063
|
-
default: 0
|
|
8064
|
-
},
|
|
8065
|
-
maxFilterValue: {
|
|
8066
|
-
type: Number,
|
|
8067
|
-
default: 1
|
|
8068
|
-
},
|
|
8069
|
-
minAlphaScale: {
|
|
8070
|
-
type: Number,
|
|
8071
|
-
default: 0
|
|
8072
|
-
},
|
|
8073
|
-
maxAlphaScale: {
|
|
8074
|
-
type: Number,
|
|
8075
|
-
default: 10
|
|
8076
|
-
},
|
|
8077
8013
|
// 设置参数
|
|
8078
8014
|
settingParams: {
|
|
8079
8015
|
type: Object
|
|
@@ -8126,19 +8062,47 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8126
8062
|
// 显示体素
|
|
8127
8063
|
baseHeight: props.settingParams && props.settingParams.baseHeight || 0,
|
|
8128
8064
|
// 基地高度
|
|
8065
|
+
minBaseHeight: props.settingParams && props.settingParams.minBaseHeight || 0,
|
|
8066
|
+
// 基地高度范围最小值
|
|
8067
|
+
maxBaseHeight: props.settingParams && props.settingParams.maxBaseHeight || 100,
|
|
8068
|
+
// 基地高度范围最大值
|
|
8129
8069
|
extrudeHeight: props.settingParams && props.settingParams.extrudeHeight || 150,
|
|
8130
8070
|
// 拉伸高度
|
|
8071
|
+
minExtrudeHeight: props.settingParams && props.settingParams.minExtrudeHeight || 0,
|
|
8072
|
+
// 拉伸高度范围最小值
|
|
8073
|
+
maxExtrudeHeight: props.settingParams && props.settingParams.maxExtrudeHeight || 500,
|
|
8074
|
+
// 拉伸高度范围最大值
|
|
8131
8075
|
width: props.settingParams && props.settingParams.width || 6,
|
|
8132
8076
|
// 体素大小
|
|
8077
|
+
minWidth: props.settingParams && props.settingParams.minWidth || 0,
|
|
8078
|
+
// 体素大小范围最小值
|
|
8079
|
+
maxWidth: props.settingParams && props.settingParams.maxWidth || 100,
|
|
8080
|
+
// 体素大小范围最大值
|
|
8133
8081
|
spacing: props.settingParams && props.settingParams.spacing || 0.8,
|
|
8134
8082
|
// 体素间距
|
|
8083
|
+
minSpacing: props.settingParams && props.settingParams.minSpacing || 0,
|
|
8084
|
+
// 体素间距范围最小值
|
|
8085
|
+
maxSpacing: props.settingParams && props.settingParams.maxSpacing || 100,
|
|
8086
|
+
// 体素间距范围最大值
|
|
8135
8087
|
currentDate: props.settingParams && props.settingParams.currentDate || "2020-04-23",
|
|
8136
8088
|
// 日期
|
|
8137
8089
|
startTime: props.settingParams && props.settingParams.startTime || 12,
|
|
8090
|
+
// 开始日期
|
|
8138
8091
|
endTime: props.settingParams && props.settingParams.endTime || 18,
|
|
8092
|
+
// 结束日期
|
|
8139
8093
|
timeSpacing: props.settingParams && props.settingParams.timeSpacing || 30,
|
|
8140
8094
|
filterValue: props.settingParams && props.settingParams.filterValue || 0,
|
|
8141
|
-
|
|
8095
|
+
// 阴影率过滤
|
|
8096
|
+
minFilterValue: props.settingParams && props.settingParams.minFilterValue || 0,
|
|
8097
|
+
// 阴影率过滤范围最小值
|
|
8098
|
+
maxFilterValue: props.settingParams && props.settingParams.maxFilterValue || 0,
|
|
8099
|
+
// 阴影率过滤范围最大值
|
|
8100
|
+
alphaScale: props.settingParams && props.settingParams.alphaScale || 1,
|
|
8101
|
+
// 透明缩放
|
|
8102
|
+
minAlphaScale: props.settingParams && props.settingParams.alphaScale || 1,
|
|
8103
|
+
// 透明缩放范围最小值
|
|
8104
|
+
maxAlphaScale: props.settingParams && props.settingParams.alphaScale || 1 // 透明缩放范围最大值
|
|
8105
|
+
|
|
8142
8106
|
});
|
|
8143
8107
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
8144
8108
|
time.value = [formItem.startTime, formItem.endTime];
|
|
@@ -8147,7 +8111,29 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8147
8111
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
8148
8112
|
if (scenceView) {
|
|
8149
8113
|
language.value = scenceView._language;
|
|
8150
|
-
viewModel = new ShadowAnalysisViewModel(scenceView,
|
|
8114
|
+
viewModel = new ShadowAnalysisViewModel(scenceView, {
|
|
8115
|
+
showVoxel: formItem.showBuilding,
|
|
8116
|
+
// 显示体素
|
|
8117
|
+
baseHeight: formItem.baseHeight,
|
|
8118
|
+
// 基地高度
|
|
8119
|
+
extrudeHeight: formItem.extrudeHeight,
|
|
8120
|
+
// 拉伸高度
|
|
8121
|
+
width: formItem.width,
|
|
8122
|
+
// 体素大小
|
|
8123
|
+
spacing: formItem.spacing,
|
|
8124
|
+
// 体素间距
|
|
8125
|
+
currentDate: formItem.currentDate,
|
|
8126
|
+
// 日期
|
|
8127
|
+
startTime: formItem.startTime,
|
|
8128
|
+
// 开始日期
|
|
8129
|
+
endTime: formItem.endTime,
|
|
8130
|
+
// 结束日期
|
|
8131
|
+
timeSpacing: formItem.timeSpacing,
|
|
8132
|
+
filterValue: formItem.filterValue,
|
|
8133
|
+
// 阴影率过滤
|
|
8134
|
+
alphaScale: formItem.alphaScale // 透明缩放
|
|
8135
|
+
|
|
8136
|
+
});
|
|
8151
8137
|
}
|
|
8152
8138
|
});
|
|
8153
8139
|
}); // 获取当前日期
|
|
@@ -8341,7 +8327,7 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8341
8327
|
_: 1
|
|
8342
8328
|
/* STABLE */
|
|
8343
8329
|
|
|
8344
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createCommentVNode)(" <kq-row class=\"kq3d-shadow-analysis-datetime\">\r\n <kq-col :span=\"6\">\r\n <span class=\"kq3d-shadow-analysis-span\">{{ language.analysisYear }}</span>\r\n </kq-col>\r\n <kq-col :span=\"18\">\r\n <kq-date-picker v-model=\"year\" align=\"right\" type=\"year\" format=\"YYYY年\"></kq-date-picker>\r\n <kq-row :gutter=\"20\">\r\n <kq-col :span=\"20\">\r\n <kq-slider\r\n v-model=\"month\"\r\n :step=\"1\"\r\n :min=\"1\"\r\n :max=\"12\"\r\n range\r\n :show-tooltip=\"false\"\r\n @change=\"changeMonth\"\r\n :marks=\"monthMarks\"></kq-slider>\r\n </kq-col>\r\n <kq-col :span=\"4\" class=\"kq3d-shadow-analysis-timeline\">\r\n <kq-icon @click=\"playOrPauseMonth\">\r\n <IconVideoPlay v-if=\"!playMonth\" />\r\n <IconVideoPause v-else />\r\n </kq-icon>\r\n </kq-col>\r\n </kq-row>\r\n </kq-col>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
|
|
8330
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createCommentVNode)(" <kq-row class=\"kq3d-shadow-analysis-datetime\">\r\n <kq-col :span=\"6\">\r\n <span class=\"kq3d-shadow-analysis-span\">{{ language.analysisYear }}</span>\r\n </kq-col>\r\n <kq-col :span=\"18\">\r\n <kq-date-picker v-model=\"year\" align=\"right\" type=\"year\" format=\"YYYY年\"></kq-date-picker>\r\n <kq-row :gutter=\"20\">\r\n <kq-col :span=\"20\">\r\n <kq-slider\r\n v-model=\"month\"\r\n :step=\"1\"\r\n :min=\"formItem.1\"\r\n :max=\"formItem.12\"\r\n range\r\n :show-tooltip=\"false\"\r\n @change=\"changeMonth\"\r\n :marks=\"monthMarks\"></kq-slider>\r\n </kq-col>\r\n <kq-col :span=\"4\" class=\"kq3d-shadow-analysis-timeline\">\r\n <kq-icon @click=\"playOrPauseMonth\">\r\n <IconVideoPlay v-if=\"!playMonth\" />\r\n <IconVideoPause v-else />\r\n </kq-icon>\r\n </kq-col>\r\n </kq-row>\r\n </kq-col>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
|
|
8345
8331
|
class: "kq3d-shadow-analysis-tip"
|
|
8346
8332
|
}, {
|
|
8347
8333
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).shadowTips), 1
|
|
@@ -8379,8 +8365,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8379
8365
|
onChange: _cache[6] || (_cache[6] = $event => paramsChanged('extrudeHeight')),
|
|
8380
8366
|
onClick: _cache[7] || (_cache[7] = $event => paramsChanged('extrudeHeight')),
|
|
8381
8367
|
step: 10,
|
|
8382
|
-
min:
|
|
8383
|
-
max:
|
|
8368
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minExtrudeHeight,
|
|
8369
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxExtrudeHeight
|
|
8384
8370
|
}, null, 8
|
|
8385
8371
|
/* PROPS */
|
|
8386
8372
|
, ["modelValue", "min", "max"])]),
|
|
@@ -8393,8 +8379,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8393
8379
|
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_input_number, {
|
|
8394
8380
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).extrudeHeight,
|
|
8395
8381
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).extrudeHeight = $event),
|
|
8396
|
-
min:
|
|
8397
|
-
max:
|
|
8382
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minExtrudeHeight,
|
|
8383
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxExtrudeHeight,
|
|
8398
8384
|
step: 10,
|
|
8399
8385
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('extrudeHeight')),
|
|
8400
8386
|
"controls-position": "right"
|
|
@@ -8436,8 +8422,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8436
8422
|
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('baseHeight')),
|
|
8437
8423
|
onClick: _cache[12] || (_cache[12] = $event => paramsChanged('baseHeight')),
|
|
8438
8424
|
step: 10,
|
|
8439
|
-
min:
|
|
8440
|
-
max:
|
|
8425
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minBaseHeight,
|
|
8426
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxBaseHeight
|
|
8441
8427
|
}, null, 8
|
|
8442
8428
|
/* PROPS */
|
|
8443
8429
|
, ["modelValue", "min", "max"])]),
|
|
@@ -8451,8 +8437,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8451
8437
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).baseHeight,
|
|
8452
8438
|
"onUpdate:modelValue": _cache[13] || (_cache[13] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).baseHeight = $event),
|
|
8453
8439
|
onChange: _cache[14] || (_cache[14] = $event => paramsChanged('baseHeight')),
|
|
8454
|
-
min:
|
|
8455
|
-
max:
|
|
8440
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minBaseHeight,
|
|
8441
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxBaseHeight,
|
|
8456
8442
|
step: 10,
|
|
8457
8443
|
"controls-position": "right"
|
|
8458
8444
|
}, null, 8
|
|
@@ -8493,8 +8479,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8493
8479
|
onChange: _cache[16] || (_cache[16] = $event => paramsChanged('width')),
|
|
8494
8480
|
onClick: _cache[17] || (_cache[17] = $event => paramsChanged('width')),
|
|
8495
8481
|
step: 1,
|
|
8496
|
-
min:
|
|
8497
|
-
max:
|
|
8482
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minWidth,
|
|
8483
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxWidth
|
|
8498
8484
|
}, null, 8
|
|
8499
8485
|
/* PROPS */
|
|
8500
8486
|
, ["modelValue", "min", "max"])]),
|
|
@@ -8508,8 +8494,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8508
8494
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).width,
|
|
8509
8495
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).width = $event),
|
|
8510
8496
|
onChange: _cache[19] || (_cache[19] = $event => paramsChanged('width')),
|
|
8511
|
-
min:
|
|
8512
|
-
max:
|
|
8497
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minWidth,
|
|
8498
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxWidth,
|
|
8513
8499
|
step: 1,
|
|
8514
8500
|
"controls-position": "right"
|
|
8515
8501
|
}, null, 8
|
|
@@ -8550,8 +8536,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8550
8536
|
onChange: _cache[21] || (_cache[21] = $event => paramsChanged('spacing')),
|
|
8551
8537
|
onClick: _cache[22] || (_cache[22] = $event => paramsChanged('spacing')),
|
|
8552
8538
|
step: 0.1,
|
|
8553
|
-
min:
|
|
8554
|
-
max:
|
|
8539
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minSpacing,
|
|
8540
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxSpacing
|
|
8555
8541
|
}, null, 8
|
|
8556
8542
|
/* PROPS */
|
|
8557
8543
|
, ["modelValue", "step", "min", "max"])]),
|
|
@@ -8565,8 +8551,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8565
8551
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).spacing,
|
|
8566
8552
|
"onUpdate:modelValue": _cache[23] || (_cache[23] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).spacing = $event),
|
|
8567
8553
|
onChange: _cache[24] || (_cache[24] = $event => paramsChanged('spacing')),
|
|
8568
|
-
min:
|
|
8569
|
-
max:
|
|
8554
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minSpacing,
|
|
8555
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxSpacing,
|
|
8570
8556
|
step: 0.1,
|
|
8571
8557
|
"controls-position": "right"
|
|
8572
8558
|
}, null, 8
|
|
@@ -8606,8 +8592,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8606
8592
|
"onUpdate:modelValue": _cache[25] || (_cache[25] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).filterValue = $event),
|
|
8607
8593
|
onInput: _cache[26] || (_cache[26] = $event => paramsChanged('filterValue')),
|
|
8608
8594
|
step: 0.01,
|
|
8609
|
-
min:
|
|
8610
|
-
max:
|
|
8595
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFilterValue,
|
|
8596
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFilterValue
|
|
8611
8597
|
}, null, 8
|
|
8612
8598
|
/* PROPS */
|
|
8613
8599
|
, ["modelValue", "step", "min", "max"])]),
|
|
@@ -8620,8 +8606,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8620
8606
|
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_input_number, {
|
|
8621
8607
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).filterValue,
|
|
8622
8608
|
"onUpdate:modelValue": _cache[27] || (_cache[27] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).filterValue = $event),
|
|
8623
|
-
min:
|
|
8624
|
-
max:
|
|
8609
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFilterValue,
|
|
8610
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFilterValue,
|
|
8625
8611
|
step: 0.01,
|
|
8626
8612
|
onInput: _cache[28] || (_cache[28] = $event => paramsChanged('filterValue')),
|
|
8627
8613
|
"controls-position": "right"
|
|
@@ -8662,8 +8648,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8662
8648
|
"onUpdate:modelValue": _cache[29] || (_cache[29] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).alphaScale = $event),
|
|
8663
8649
|
onInput: _cache[30] || (_cache[30] = $event => paramsChanged('alphaScale')),
|
|
8664
8650
|
step: 0.1,
|
|
8665
|
-
min:
|
|
8666
|
-
max:
|
|
8651
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minAlphaScale,
|
|
8652
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxAlphaScale
|
|
8667
8653
|
}, null, 8
|
|
8668
8654
|
/* PROPS */
|
|
8669
8655
|
, ["modelValue", "step", "min", "max"])]),
|
|
@@ -8676,8 +8662,8 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
8676
8662
|
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_input_number, {
|
|
8677
8663
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).alphaScale,
|
|
8678
8664
|
"onUpdate:modelValue": _cache[31] || (_cache[31] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).alphaScale = $event),
|
|
8679
|
-
min:
|
|
8680
|
-
max:
|
|
8665
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minAlphaScale,
|
|
8666
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxAlphaScale,
|
|
8681
8667
|
step: 0.1,
|
|
8682
8668
|
onInput: _cache[32] || (_cache[32] = $event => paramsChanged('alphaScale')),
|
|
8683
8669
|
"controls-position": "right"
|
|
@@ -8812,6 +8798,7 @@ class ProfileAnalysisViewModel {
|
|
|
8812
8798
|
//剖面分析三维对象
|
|
8813
8799
|
//显示结果的DOM元素
|
|
8814
8800
|
//显示结果的DOM元素显隐
|
|
8801
|
+
//全局参数对象
|
|
8815
8802
|
constructor(viewer, viewModel, chart) {
|
|
8816
8803
|
_defineProperty(this, "_profileAnalysis", null);
|
|
8817
8804
|
|
|
@@ -8820,7 +8807,6 @@ class ProfileAnalysisViewModel {
|
|
|
8820
8807
|
_defineProperty(this, "_ProfileAnalysisChartVis", null);
|
|
8821
8808
|
|
|
8822
8809
|
_defineProperty(this, "_globaOptions", {
|
|
8823
|
-
//全局参数对象
|
|
8824
8810
|
width: 360,
|
|
8825
8811
|
height: 360
|
|
8826
8812
|
});
|
|
@@ -9077,38 +9063,6 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9077
9063
|
};
|
|
9078
9064
|
/* harmony default export */ var ProfileAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(ProfileAnalysisvue_type_script_setup_true_lang_js_default_, {
|
|
9079
9065
|
props: {
|
|
9080
|
-
minPerspectiveAngle: {
|
|
9081
|
-
type: Number,
|
|
9082
|
-
default: 0
|
|
9083
|
-
},
|
|
9084
|
-
maxPerspectiveAngle: {
|
|
9085
|
-
type: Number,
|
|
9086
|
-
default: 90
|
|
9087
|
-
},
|
|
9088
|
-
minTargetAreaWidth: {
|
|
9089
|
-
type: Number,
|
|
9090
|
-
default: 0
|
|
9091
|
-
},
|
|
9092
|
-
maxTargetAreaWidth: {
|
|
9093
|
-
type: Number,
|
|
9094
|
-
default: 500
|
|
9095
|
-
},
|
|
9096
|
-
minTargetAreaHeight: {
|
|
9097
|
-
type: Number,
|
|
9098
|
-
default: 0
|
|
9099
|
-
},
|
|
9100
|
-
maxTargetAreaHeight: {
|
|
9101
|
-
type: Number,
|
|
9102
|
-
default: 500
|
|
9103
|
-
},
|
|
9104
|
-
minCameraHeight: {
|
|
9105
|
-
type: Number,
|
|
9106
|
-
default: 0
|
|
9107
|
-
},
|
|
9108
|
-
maxCameraHeight: {
|
|
9109
|
-
type: Number,
|
|
9110
|
-
default: 500
|
|
9111
|
-
},
|
|
9112
9066
|
// 设置参数
|
|
9113
9067
|
settingParams: {
|
|
9114
9068
|
type: Object
|
|
@@ -9128,14 +9082,30 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9128
9082
|
let resultCahrtVis = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(true); // 获取组件传参
|
|
9129
9083
|
|
|
9130
9084
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
9131
|
-
perspectiveAngle: props.settingParams && props.settingParams.
|
|
9085
|
+
perspectiveAngle: props.settingParams && props.settingParams.perspectiveAngle || 90,
|
|
9132
9086
|
// 透视角度
|
|
9133
|
-
|
|
9087
|
+
minPerspectiveAngle: props.settingParams && props.settingParams.minPerspectiveAngle || 0,
|
|
9088
|
+
// 透视角度范围最小值
|
|
9089
|
+
maxPerspectiveAngle: props.settingParams && props.settingParams.maxPerspectiveAngle || 90,
|
|
9090
|
+
// 透视角度范围最大值
|
|
9091
|
+
targetAreaWidth: props.settingParams && props.settingParams.targetAreaWidth || 1,
|
|
9134
9092
|
// 目标区域宽度
|
|
9135
|
-
|
|
9093
|
+
minTargetAreaWidth: props.settingParams && props.settingParams.minTargetAreaWidth || 0,
|
|
9094
|
+
// 目标区域宽度范围最小值
|
|
9095
|
+
maxTargetAreaWidth: props.settingParams && props.settingParams.maxTargetAreaWidth || 500,
|
|
9096
|
+
// 目标区域宽度范围最大值
|
|
9097
|
+
targetAreaHeight: props.settingParams && props.settingParams.targetAreaHeight || 200,
|
|
9136
9098
|
// 目标区域高度
|
|
9137
|
-
|
|
9099
|
+
minTargetAreaHeight: props.settingParams && props.settingParams.minTargetAreaHeight || 0,
|
|
9100
|
+
// 目标区域高度范围最小值
|
|
9101
|
+
maxTargetAreaHeight: props.settingParams && props.settingParams.maxTargetAreaHeight || 500,
|
|
9102
|
+
// 目标区域高度范围最大值
|
|
9103
|
+
cameraHeight: props.settingParams && props.settingParams.cameraHeight || 0,
|
|
9138
9104
|
// 相机高度
|
|
9105
|
+
minCameraHeight: props.settingParams && props.settingParams.minCameraHeight || 0,
|
|
9106
|
+
// 相机高度范围最小值
|
|
9107
|
+
maxCameraHeight: props.settingParams && props.settingParams.maxCameraHeight || 500,
|
|
9108
|
+
// 相机高度范围最大值
|
|
9139
9109
|
enablePerspective: props.settingParams && props.settingParams.isLabel !== undefined || true // 是否透视
|
|
9140
9110
|
|
|
9141
9111
|
});
|
|
@@ -9143,7 +9113,18 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9143
9113
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
9144
9114
|
if (scenceView) {
|
|
9145
9115
|
language.value = scenceView._language;
|
|
9146
|
-
viewModel = new ProfileAnalysisViewModel(scenceView._viewer,
|
|
9116
|
+
viewModel = new ProfileAnalysisViewModel(scenceView._viewer, {
|
|
9117
|
+
perspectiveAngle: formItem.perspectiveAngle,
|
|
9118
|
+
// 透视角度
|
|
9119
|
+
targetAreaWidth: formItem.targetAreaWidth,
|
|
9120
|
+
// 目标区域宽度
|
|
9121
|
+
targetAreaHeight: formItem.targetAreaHeight,
|
|
9122
|
+
// 目标区域高度
|
|
9123
|
+
cameraHeight: formItem.cameraHeight,
|
|
9124
|
+
// 相机高度
|
|
9125
|
+
enablePerspective: formItem.enablePerspective // 是否透视
|
|
9126
|
+
|
|
9127
|
+
}, document.getElementById("resultCahrt"));
|
|
9147
9128
|
viewModel._ProfileAnalysisChartVis = resultCahrtVis;
|
|
9148
9129
|
resultCahrtVis.value = false;
|
|
9149
9130
|
}
|
|
@@ -9254,8 +9235,8 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9254
9235
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).perspectiveAngle,
|
|
9255
9236
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).perspectiveAngle = $event),
|
|
9256
9237
|
step: 1,
|
|
9257
|
-
min:
|
|
9258
|
-
max:
|
|
9238
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minPerspectiveAngle,
|
|
9239
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxPerspectiveAngle,
|
|
9259
9240
|
onInput: onChangePerspectiveAngle
|
|
9260
9241
|
}, null, 8
|
|
9261
9242
|
/* PROPS */
|
|
@@ -9269,8 +9250,8 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9269
9250
|
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_input_number, {
|
|
9270
9251
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).perspectiveAngle,
|
|
9271
9252
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).perspectiveAngle = $event),
|
|
9272
|
-
min:
|
|
9273
|
-
max:
|
|
9253
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minPerspectiveAngle,
|
|
9254
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxPerspectiveAngle,
|
|
9274
9255
|
step: 1,
|
|
9275
9256
|
"controls-position": "right"
|
|
9276
9257
|
}, null, 8
|
|
@@ -9309,8 +9290,8 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9309
9290
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaWidth,
|
|
9310
9291
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaWidth = $event),
|
|
9311
9292
|
step: 1,
|
|
9312
|
-
min:
|
|
9313
|
-
max:
|
|
9293
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minTargetAreaWidth,
|
|
9294
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxTargetAreaWidth,
|
|
9314
9295
|
onInput: onChangeTargetAreaWidth
|
|
9315
9296
|
}, null, 8
|
|
9316
9297
|
/* PROPS */
|
|
@@ -9324,9 +9305,9 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9324
9305
|
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_input_number, {
|
|
9325
9306
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaWidth,
|
|
9326
9307
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaWidth = $event),
|
|
9327
|
-
min:
|
|
9308
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minTargetAreaWidth,
|
|
9328
9309
|
step: 1,
|
|
9329
|
-
max:
|
|
9310
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxTargetAreaWidth,
|
|
9330
9311
|
"controls-position": "right"
|
|
9331
9312
|
}, null, 8
|
|
9332
9313
|
/* PROPS */
|
|
@@ -9364,8 +9345,8 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9364
9345
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaHeight,
|
|
9365
9346
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaHeight = $event),
|
|
9366
9347
|
step: 1,
|
|
9367
|
-
min:
|
|
9368
|
-
max:
|
|
9348
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minTargetAreaHeight,
|
|
9349
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxTargetAreaHeight,
|
|
9369
9350
|
onInput: onChangeTargetAreaHeight
|
|
9370
9351
|
}, null, 8
|
|
9371
9352
|
/* PROPS */
|
|
@@ -9379,9 +9360,9 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9379
9360
|
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_input_number, {
|
|
9380
9361
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaHeight,
|
|
9381
9362
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaHeight = $event),
|
|
9382
|
-
min:
|
|
9363
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minTargetAreaHeight,
|
|
9383
9364
|
step: 1,
|
|
9384
|
-
max:
|
|
9365
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxTargetAreaHeight,
|
|
9385
9366
|
"controls-position": "right"
|
|
9386
9367
|
}, null, 8
|
|
9387
9368
|
/* PROPS */
|
|
@@ -9419,8 +9400,8 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9419
9400
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).cameraHeight,
|
|
9420
9401
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).cameraHeight = $event),
|
|
9421
9402
|
step: 1,
|
|
9422
|
-
min:
|
|
9423
|
-
max:
|
|
9403
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minCameraHeight,
|
|
9404
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxCameraHeight,
|
|
9424
9405
|
onInput: onChangeCameraHeight
|
|
9425
9406
|
}, null, 8
|
|
9426
9407
|
/* PROPS */
|
|
@@ -9434,9 +9415,9 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9434
9415
|
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_input_number, {
|
|
9435
9416
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).cameraHeight,
|
|
9436
9417
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).cameraHeight = $event),
|
|
9437
|
-
min:
|
|
9418
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minCameraHeight,
|
|
9438
9419
|
step: 1,
|
|
9439
|
-
max:
|
|
9420
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxCameraHeight,
|
|
9440
9421
|
"controls-position": "right"
|
|
9441
9422
|
}, null, 8
|
|
9442
9423
|
/* PROPS */
|
|
@@ -9575,17 +9556,7 @@ class SkylineAnalysisViewModel {
|
|
|
9575
9556
|
|
|
9576
9557
|
viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
9577
9558
|
|
|
9578
|
-
viewer.scene.postProcessStages._fxaa.enabled = true; //
|
|
9579
|
-
|
|
9580
|
-
option = {
|
|
9581
|
-
skylineColor: option.skylineColor || "#E6A23C",
|
|
9582
|
-
skylineRadius: option.skylineRadius || 1000,
|
|
9583
|
-
limitHeightBodyColor: option.limitHeightBodyColor || "#67C23A",
|
|
9584
|
-
limitHeightBodyAlpha: option.limitHeightBodyAlpha || 0.7,
|
|
9585
|
-
limitHeightBodyOutlineColor: option.limitHeightBodyOutlineColor || "#67C23A",
|
|
9586
|
-
limitHeightBodyOutlineColorAlpha: option.limitHeightBodyOutlineColorAlpha || 0,
|
|
9587
|
-
skylineWidth: option.skylineWidth || 2
|
|
9588
|
-
}; // 创建分析参数对象
|
|
9559
|
+
viewer.scene.postProcessStages._fxaa.enabled = true; // 创建分析参数对象
|
|
9589
9560
|
|
|
9590
9561
|
this._options = {
|
|
9591
9562
|
viewer: viewer,
|
|
@@ -9593,7 +9564,7 @@ class SkylineAnalysisViewModel {
|
|
|
9593
9564
|
//天际线颜色
|
|
9594
9565
|
faceColor: window.Cesium.Color.fromCssColorString(option.limitHeightBodyColor).withAlpha(option.limitHeightBodyAlpha),
|
|
9595
9566
|
//限高体颜色
|
|
9596
|
-
faceOutlineColor: window.Cesium.Color.fromCssColorString(
|
|
9567
|
+
faceOutlineColor: window.Cesium.Color.fromCssColorString("#E6A23C").withAlpha(0),
|
|
9597
9568
|
//限高体轮廓颜色
|
|
9598
9569
|
lineWidth: option.skylineWidth,
|
|
9599
9570
|
//天际线线宽
|
|
@@ -9870,16 +9841,35 @@ const SkylineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
9870
9841
|
|
|
9871
9842
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
9872
9843
|
skylineColor: props.settingParams && props.settingParams.skylineColor || "#E6A23C",
|
|
9844
|
+
// 天际线颜色
|
|
9873
9845
|
skylineRadius: props.settingParams && props.settingParams.skylineRadius || 1000,
|
|
9846
|
+
// 天际线半径
|
|
9847
|
+
minSkylineRadius: props.settingParams && props.settingParams.minSkylineRadius || 0,
|
|
9848
|
+
// 天际线半径范围最小值
|
|
9849
|
+
maxSkylineRadius: props.settingParams && props.settingParams.maxSkylineRadius || 5000,
|
|
9850
|
+
// 天际线半径范围最大值
|
|
9874
9851
|
limitHeightBodyColor: props.settingParams && props.settingParams.limitHeightBodyColor || "#67C23A",
|
|
9852
|
+
// 限高体颜色
|
|
9875
9853
|
limitHeightBodyAlpha: props.settingParams && props.settingParams.limitHeightBodyAlpha || 0.7,
|
|
9876
|
-
|
|
9854
|
+
// 限高体透明度
|
|
9855
|
+
minLimitHeightBodyAlpha: props.settingParams && props.settingParams.minLimitHeightBodyAlpha || 0,
|
|
9856
|
+
// 限高体透明度范围最小值
|
|
9857
|
+
maxLimitHeightBodyAlpha: props.settingParams && props.settingParams.maxLimitHeightBodyAlpha || 1,
|
|
9858
|
+
// 限高体透明度范围最大值
|
|
9859
|
+
skylineWidth: 2 // 天际线宽度
|
|
9860
|
+
|
|
9877
9861
|
});
|
|
9878
9862
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
9879
9863
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
9880
9864
|
if (scenceView) {
|
|
9881
9865
|
language.value = scenceView._language;
|
|
9882
|
-
viewModel = new SkylineAnalysisViewModel(scenceView._viewer,
|
|
9866
|
+
viewModel = new SkylineAnalysisViewModel(scenceView._viewer, {
|
|
9867
|
+
skylineColor: formItem.skylineColor || "#E6A23C",
|
|
9868
|
+
skylineRadius: formItem.skylineRadius || 1000,
|
|
9869
|
+
limitHeightBodyColor: formItem.limitHeightBodyColor || "#67C23A",
|
|
9870
|
+
limitHeightBodyAlpha: formItem.limitHeightBodyAlpha || 0.7,
|
|
9871
|
+
skylineWidth: formItem.skylineWidth || 2
|
|
9872
|
+
}, resultEcahrtVis);
|
|
9883
9873
|
viewModel._skylineAnalysisChartTitle = language.value["skylineAnalysisChartTitle"];
|
|
9884
9874
|
}
|
|
9885
9875
|
});
|
|
@@ -10013,12 +10003,12 @@ const SkylineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10013
10003
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).skylineRadius,
|
|
10014
10004
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).skylineRadius = $event),
|
|
10015
10005
|
step: 100,
|
|
10016
|
-
min: 0,
|
|
10017
|
-
max:
|
|
10006
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minSkylineRadius,
|
|
10007
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxSkylineRadius,
|
|
10018
10008
|
onInput: onChangeSkylineRadius
|
|
10019
10009
|
}, null, 8
|
|
10020
10010
|
/* PROPS */
|
|
10021
|
-
, ["modelValue"])]),
|
|
10011
|
+
, ["modelValue", "min", "max"])]),
|
|
10022
10012
|
_: 1
|
|
10023
10013
|
/* STABLE */
|
|
10024
10014
|
|
|
@@ -10028,13 +10018,13 @@ const SkylineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10028
10018
|
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_input_number, {
|
|
10029
10019
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).skylineRadius,
|
|
10030
10020
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).skylineRadius = $event),
|
|
10031
|
-
min: 0,
|
|
10021
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minSkylineRadius,
|
|
10032
10022
|
step: 100,
|
|
10033
|
-
max:
|
|
10023
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxSkylineRadius,
|
|
10034
10024
|
"controls-position": "right"
|
|
10035
10025
|
}, null, 8
|
|
10036
10026
|
/* PROPS */
|
|
10037
|
-
, ["modelValue"])]),
|
|
10027
|
+
, ["modelValue", "min", "max"])]),
|
|
10038
10028
|
_: 1
|
|
10039
10029
|
/* STABLE */
|
|
10040
10030
|
|
|
@@ -10088,12 +10078,12 @@ const SkylineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10088
10078
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).limitHeightBodyAlpha,
|
|
10089
10079
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).limitHeightBodyAlpha = $event),
|
|
10090
10080
|
step: 0.1,
|
|
10091
|
-
min: 0,
|
|
10092
|
-
max:
|
|
10081
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minLimitHeightBodyAlpha,
|
|
10082
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxLimitHeightBodyAlpha,
|
|
10093
10083
|
onInput: onChangeLimitHeightBodyAlpha
|
|
10094
10084
|
}, null, 8
|
|
10095
10085
|
/* PROPS */
|
|
10096
|
-
, ["modelValue", "step"])]),
|
|
10086
|
+
, ["modelValue", "step", "min", "max"])]),
|
|
10097
10087
|
_: 1
|
|
10098
10088
|
/* STABLE */
|
|
10099
10089
|
|
|
@@ -10103,13 +10093,13 @@ const SkylineAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10103
10093
|
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_input_number, {
|
|
10104
10094
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).limitHeightBodyAlpha,
|
|
10105
10095
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).limitHeightBodyAlpha = $event),
|
|
10106
|
-
min: 0,
|
|
10096
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minLimitHeightBodyAlpha,
|
|
10107
10097
|
step: 0.1,
|
|
10108
|
-
max:
|
|
10098
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxLimitHeightBodyAlpha,
|
|
10109
10099
|
"controls-position": "right"
|
|
10110
10100
|
}, null, 8
|
|
10111
10101
|
/* PROPS */
|
|
10112
|
-
, ["modelValue", "step"])]),
|
|
10102
|
+
, ["modelValue", "min", "step", "max"])]),
|
|
10113
10103
|
_: 1
|
|
10114
10104
|
/* STABLE */
|
|
10115
10105
|
|
|
@@ -10493,6 +10483,7 @@ const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10493
10483
|
settingParams: {
|
|
10494
10484
|
type: Object
|
|
10495
10485
|
},
|
|
10486
|
+
// 地形开挖和地形修改显示设置。0:同时显示;1:显示地形开挖;2:显示地形修改
|
|
10496
10487
|
operationMode: {
|
|
10497
10488
|
type: Number,
|
|
10498
10489
|
default: 0
|
|
@@ -10511,7 +10502,13 @@ const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10511
10502
|
|
|
10512
10503
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
10513
10504
|
terrainStyle: props.settingParams && props.settingParams.terrainStyle || 1,
|
|
10514
|
-
|
|
10505
|
+
// 地形操作类型。0:地形开挖;1:地形修改
|
|
10506
|
+
excavationDepth: props.settingParams && props.settingParams.excavationDepth || 500,
|
|
10507
|
+
// 地形开挖深度
|
|
10508
|
+
minExcavationDepth: props.settingParams && props.settingParams.minExcavationDepth || 0,
|
|
10509
|
+
// 地形开挖深度范围最小值
|
|
10510
|
+
maxExcavationDepth: props.settingParams && props.settingParams.maxExcavationDepth || 5000 // 地形开挖深度范围最大值
|
|
10511
|
+
|
|
10515
10512
|
});
|
|
10516
10513
|
let viewModel = null;
|
|
10517
10514
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
@@ -10524,11 +10521,10 @@ const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10524
10521
|
}
|
|
10525
10522
|
|
|
10526
10523
|
language.value = scenceView._language;
|
|
10527
|
-
|
|
10524
|
+
viewModel = new TerrainOperationViewModel(scenceView, {
|
|
10528
10525
|
terrainStyle: formItem.terrainStyle,
|
|
10529
10526
|
excavationDepth: formItem.excavationDepth
|
|
10530
|
-
};
|
|
10531
|
-
viewModel = new TerrainOperationViewModel(scenceView, options);
|
|
10527
|
+
});
|
|
10532
10528
|
}
|
|
10533
10529
|
});
|
|
10534
10530
|
}); // 改变样式
|
|
@@ -10632,13 +10628,13 @@ const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10632
10628
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).excavationDepth,
|
|
10633
10629
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).excavationDepth = $event),
|
|
10634
10630
|
step: 100,
|
|
10635
|
-
min:
|
|
10636
|
-
max:
|
|
10631
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minExcavationDepth,
|
|
10632
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxExcavationDepth,
|
|
10637
10633
|
onChange: _cache[3] || (_cache[3] = $event => changeHeight()),
|
|
10638
10634
|
onClick: _cache[4] || (_cache[4] = $event => changeHeight())
|
|
10639
10635
|
}, null, 8
|
|
10640
10636
|
/* PROPS */
|
|
10641
|
-
, ["modelValue"])]),
|
|
10637
|
+
, ["modelValue", "min", "max"])]),
|
|
10642
10638
|
_: 1
|
|
10643
10639
|
/* STABLE */
|
|
10644
10640
|
|
|
@@ -10653,14 +10649,14 @@ const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10653
10649
|
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_input_number, {
|
|
10654
10650
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).excavationDepth,
|
|
10655
10651
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).excavationDepth = $event),
|
|
10656
|
-
min:
|
|
10652
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minExcavationDepth,
|
|
10657
10653
|
step: 100,
|
|
10658
|
-
max:
|
|
10654
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxExcavationDepth,
|
|
10659
10655
|
"controls-position": "right",
|
|
10660
10656
|
onInput: _cache[6] || (_cache[6] = $event => changeHeight())
|
|
10661
10657
|
}, null, 8
|
|
10662
10658
|
/* PROPS */
|
|
10663
|
-
, ["modelValue"])]),
|
|
10659
|
+
, ["modelValue", "min", "max"])]),
|
|
10664
10660
|
_: 1
|
|
10665
10661
|
/* STABLE */
|
|
10666
10662
|
|
|
@@ -10869,7 +10865,6 @@ const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_hoisted_6 = {
|
|
|
10869
10865
|
|
|
10870
10866
|
|
|
10871
10867
|
|
|
10872
|
-
|
|
10873
10868
|
const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
10874
10869
|
name: "Kq3dExcavateFillAnalysis"
|
|
10875
10870
|
};
|
|
@@ -10899,8 +10894,15 @@ const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
10899
10894
|
|
|
10900
10895
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
10901
10896
|
altitudeHeight: props.settingParams && props.settingParams.altitudeHeight || 2920,
|
|
10897
|
+
// 基准高度
|
|
10898
|
+
minAltitudeHeight: props.settingParams && props.settingParams.altitudeHeight || 0,
|
|
10899
|
+
// 基准高度区间最小值
|
|
10900
|
+
maxAltitudeHeight: props.settingParams && props.settingParams.altitudeHeight || 5000,
|
|
10901
|
+
// 基准高度区间最大值
|
|
10902
10902
|
excavateColor: props.settingParams && props.settingParams.excavateColor || "#67C23A",
|
|
10903
|
-
|
|
10903
|
+
// 挖方颜色
|
|
10904
|
+
fillColor: props.settingParams && props.settingParams.fillColor || "#E6A23C" // // 填方颜色
|
|
10905
|
+
|
|
10904
10906
|
});
|
|
10905
10907
|
let viewModel = null;
|
|
10906
10908
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
@@ -11047,12 +11049,12 @@ const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11047
11049
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).altitudeHeight,
|
|
11048
11050
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).altitudeHeight = $event),
|
|
11049
11051
|
step: 100,
|
|
11050
|
-
min: 0,
|
|
11051
|
-
max:
|
|
11052
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minAltitudeHeight,
|
|
11053
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxAltitudeHeight,
|
|
11052
11054
|
onInput: _cache[1] || (_cache[1] = $event => paramsChanged('height'))
|
|
11053
11055
|
}, null, 8
|
|
11054
11056
|
/* PROPS */
|
|
11055
|
-
, ["modelValue"])]),
|
|
11057
|
+
, ["modelValue", "min", "max"])]),
|
|
11056
11058
|
_: 1
|
|
11057
11059
|
/* STABLE */
|
|
11058
11060
|
|
|
@@ -11065,14 +11067,14 @@ const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11065
11067
|
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_input_number, {
|
|
11066
11068
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).altitudeHeight,
|
|
11067
11069
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).altitudeHeight = $event),
|
|
11068
|
-
min: 0,
|
|
11070
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minAltitudeHeight,
|
|
11069
11071
|
step: 100,
|
|
11070
|
-
max:
|
|
11072
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxAltitudeHeight,
|
|
11071
11073
|
"controls-position": "right",
|
|
11072
11074
|
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('height'))
|
|
11073
11075
|
}, null, 8
|
|
11074
11076
|
/* PROPS */
|
|
11075
|
-
, ["modelValue"])]),
|
|
11077
|
+
, ["modelValue", "min", "max"])]),
|
|
11076
11078
|
_: 1
|
|
11077
11079
|
/* STABLE */
|
|
11078
11080
|
|
|
@@ -11474,8 +11476,6 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11474
11476
|
};
|
|
11475
11477
|
/* harmony default export */ var FloodAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(FloodAnalysisvue_type_script_setup_true_lang_js_default_, {
|
|
11476
11478
|
props: {
|
|
11477
|
-
// 每个地图相关组件的必须参数 非必传 指定组件绑定的map对象的div的id
|
|
11478
|
-
mapTarget: String,
|
|
11479
11479
|
// 是否显示淹没模式下拉选择框
|
|
11480
11480
|
isShowMode: {
|
|
11481
11481
|
type: Boolean,
|
|
@@ -11492,7 +11492,8 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11492
11492
|
}) {
|
|
11493
11493
|
const props = __props;
|
|
11494
11494
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
11495
|
-
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("");
|
|
11495
|
+
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 淹没色调图片
|
|
11496
|
+
|
|
11496
11497
|
const colorImages = [{
|
|
11497
11498
|
value: "0",
|
|
11498
11499
|
src: const_image_namespaceObject.RED_TO_PURPLE_URL
|
|
@@ -11506,23 +11507,44 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11506
11507
|
|
|
11507
11508
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
11508
11509
|
floodMode: props.settingParams && props.settingParams.floodMode || 0,
|
|
11510
|
+
// 淹没模式:0:地形淹没 1:模型淹没
|
|
11509
11511
|
floodDirection: props.settingParams && props.settingParams.floodDirection || 1,
|
|
11510
|
-
|
|
11511
|
-
|
|
11512
|
+
// 淹没方向,0:单向 1:双向
|
|
11513
|
+
floodSpeed: props.settingParams && props.settingParams.floodSpeed || 2,
|
|
11514
|
+
// 淹没速度
|
|
11515
|
+
minFloodSpeed: props.settingParams && props.settingParams.minFloodSpeed || 0,
|
|
11516
|
+
// 淹没速度最小值
|
|
11517
|
+
maxFloodSpeed: props.settingParams && props.settingParams.maxFloodSpeed || 100,
|
|
11518
|
+
// 淹没速度最大值
|
|
11512
11519
|
floodAlpha: props.settingParams && props.settingParams.floodAlpha || 0.85,
|
|
11520
|
+
// 淹没透明度
|
|
11521
|
+
minFloodAlpha: props.settingParams && props.settingParams.minFloodAlpha || 0,
|
|
11522
|
+
// 淹没透明度范围最小值
|
|
11523
|
+
maxFloodAlpha: props.settingParams && props.settingParams.maxFloodAlpha || 1,
|
|
11524
|
+
// 淹没透明度范围最大值
|
|
11513
11525
|
floodHeightStep: props.settingParams && props.settingParams.floodHeightStep || 100,
|
|
11526
|
+
// 淹没高度的控件间隔
|
|
11514
11527
|
floodMinHeight: props.settingParams && props.settingParams.floodMinHeight || 1200,
|
|
11515
|
-
|
|
11528
|
+
// 淹没高度最小值
|
|
11529
|
+
minFloodMinHeight: props.settingParams && props.settingParams.minFloodMinHeight || 0,
|
|
11530
|
+
// 淹没最小高度范围的最小值
|
|
11531
|
+
maxFloodMinHeight: props.settingParams && props.settingParams.maxFloodMinHeight || 10000,
|
|
11532
|
+
// 淹没最小高度范围的最大值
|
|
11516
11533
|
floodMaxHeight: props.settingParams && props.settingParams.floodMaxHeight || 5000,
|
|
11517
|
-
|
|
11518
|
-
|
|
11534
|
+
// 淹没高度最大值
|
|
11535
|
+
minFloodMaxHeight: props.settingParams && props.settingParams.minFloodMaxHeight || 0,
|
|
11536
|
+
// 淹没最大高度范围的最小值
|
|
11537
|
+
maxFloodMaxHeight: props.settingParams && props.settingParams.maxFloodMaxHeight || 10000,
|
|
11538
|
+
// 淹没最大高度范围的最大值
|
|
11539
|
+
floodColorImage: props.settingParams && props.settingParams.floodColorImage || "0" // 淹没纹理色带值
|
|
11540
|
+
|
|
11519
11541
|
});
|
|
11520
11542
|
let viewModel = null;
|
|
11521
11543
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
11522
|
-
gis_utils_namespaceObject.utils.getWebMap(
|
|
11544
|
+
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
11523
11545
|
if (scenceView) {
|
|
11524
11546
|
language.value = scenceView._language;
|
|
11525
|
-
|
|
11547
|
+
viewModel = new FloodAnalysisViewModel(scenceView, {
|
|
11526
11548
|
mode: formItem.floodMode,
|
|
11527
11549
|
moveMode: formItem.floodDirection,
|
|
11528
11550
|
speed: formItem.floodSpeed,
|
|
@@ -11530,14 +11552,13 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11530
11552
|
minHeight: formItem.floodMinHeight,
|
|
11531
11553
|
maxHeight: formItem.floodMaxHeight,
|
|
11532
11554
|
colorImage: formItem.floodColorImage
|
|
11533
|
-
};
|
|
11534
|
-
viewModel = new FloodAnalysisViewModel(scenceView, options);
|
|
11555
|
+
});
|
|
11535
11556
|
}
|
|
11536
11557
|
});
|
|
11537
11558
|
}); //获取图片路径
|
|
11538
11559
|
|
|
11539
11560
|
function getImagePath(value) {
|
|
11540
|
-
var imagePath =
|
|
11561
|
+
var imagePath = "";
|
|
11541
11562
|
var image = colorImages.find(item => item.value === value);
|
|
11542
11563
|
|
|
11543
11564
|
if (image) {
|
|
@@ -11545,19 +11566,22 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11545
11566
|
}
|
|
11546
11567
|
|
|
11547
11568
|
return imagePath;
|
|
11548
|
-
}
|
|
11569
|
+
} // 开始分析
|
|
11549
11570
|
|
|
11550
11571
|
|
|
11551
11572
|
function startAnalysis() {
|
|
11552
11573
|
viewModel && viewModel.start();
|
|
11553
|
-
}
|
|
11574
|
+
} // 清除结果
|
|
11554
11575
|
|
|
11555
11576
|
|
|
11556
11577
|
function clearResult() {
|
|
11557
11578
|
viewModel && viewModel.clear();
|
|
11558
|
-
}
|
|
11579
|
+
} // 参数切换
|
|
11580
|
+
|
|
11559
11581
|
|
|
11560
11582
|
function paramsChanged(key) {
|
|
11583
|
+
if (!viewModel) return;
|
|
11584
|
+
|
|
11561
11585
|
switch (key) {
|
|
11562
11586
|
case "mode":
|
|
11563
11587
|
viewModel.setMoveMode(formItem.floodMode);
|
|
@@ -11737,12 +11761,12 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11737
11761
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodSpeed,
|
|
11738
11762
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodSpeed = $event),
|
|
11739
11763
|
step: 1,
|
|
11740
|
-
min: 0,
|
|
11741
|
-
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).
|
|
11764
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFloodSpeed,
|
|
11765
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFloodSpeed,
|
|
11742
11766
|
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('speed'))
|
|
11743
11767
|
}, null, 8
|
|
11744
11768
|
/* PROPS */
|
|
11745
|
-
, ["modelValue", "max"])]),
|
|
11769
|
+
, ["modelValue", "min", "max"])]),
|
|
11746
11770
|
_: 1
|
|
11747
11771
|
/* STABLE */
|
|
11748
11772
|
|
|
@@ -11752,14 +11776,14 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11752
11776
|
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_input_number, {
|
|
11753
11777
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodSpeed,
|
|
11754
11778
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodSpeed = $event),
|
|
11755
|
-
min: 0,
|
|
11756
|
-
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).
|
|
11779
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFloodSpeed,
|
|
11780
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFloodSpeed,
|
|
11757
11781
|
step: 1,
|
|
11758
11782
|
"controls-position": "right",
|
|
11759
11783
|
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('speed'))
|
|
11760
11784
|
}, null, 8
|
|
11761
11785
|
/* PROPS */
|
|
11762
|
-
, ["modelValue", "max"])]),
|
|
11786
|
+
, ["modelValue", "min", "max"])]),
|
|
11763
11787
|
_: 1
|
|
11764
11788
|
/* STABLE */
|
|
11765
11789
|
|
|
@@ -11793,12 +11817,12 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11793
11817
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodAlpha,
|
|
11794
11818
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodAlpha = $event),
|
|
11795
11819
|
step: 0.01,
|
|
11796
|
-
min: 0,
|
|
11797
|
-
max:
|
|
11820
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFloodAlpha,
|
|
11821
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFloodAlpha,
|
|
11798
11822
|
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('alpha'))
|
|
11799
11823
|
}, null, 8
|
|
11800
11824
|
/* PROPS */
|
|
11801
|
-
, ["modelValue", "step"])]),
|
|
11825
|
+
, ["modelValue", "step", "min", "max"])]),
|
|
11802
11826
|
_: 1
|
|
11803
11827
|
/* STABLE */
|
|
11804
11828
|
|
|
@@ -11808,14 +11832,14 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11808
11832
|
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_input_number, {
|
|
11809
11833
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodAlpha,
|
|
11810
11834
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodAlpha = $event),
|
|
11811
|
-
min: 0,
|
|
11812
|
-
max:
|
|
11835
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFloodAlpha,
|
|
11836
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFloodAlpha,
|
|
11813
11837
|
step: 0.01,
|
|
11814
11838
|
"controls-position": "right",
|
|
11815
11839
|
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('alpha'))
|
|
11816
11840
|
}, null, 8
|
|
11817
11841
|
/* PROPS */
|
|
11818
|
-
, ["modelValue", "step"])]),
|
|
11842
|
+
, ["modelValue", "min", "max", "step"])]),
|
|
11819
11843
|
_: 1
|
|
11820
11844
|
/* STABLE */
|
|
11821
11845
|
|
|
@@ -11849,12 +11873,12 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11849
11873
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodMinHeight,
|
|
11850
11874
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodMinHeight = $event),
|
|
11851
11875
|
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodHeightStep,
|
|
11852
|
-
min: 0,
|
|
11853
|
-
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).
|
|
11876
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFloodMinHeight,
|
|
11877
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFloodMinHeight,
|
|
11854
11878
|
onInput: _cache[13] || (_cache[13] = $event => paramsChanged('minHeight'))
|
|
11855
11879
|
}, null, 8
|
|
11856
11880
|
/* PROPS */
|
|
11857
|
-
, ["modelValue", "step", "max"])]),
|
|
11881
|
+
, ["modelValue", "step", "min", "max"])]),
|
|
11858
11882
|
_: 1
|
|
11859
11883
|
/* STABLE */
|
|
11860
11884
|
|
|
@@ -11864,14 +11888,14 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11864
11888
|
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_input_number, {
|
|
11865
11889
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodMinHeight,
|
|
11866
11890
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodMinHeight = $event),
|
|
11867
|
-
min: 0,
|
|
11868
|
-
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).
|
|
11891
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFloodMinHeight,
|
|
11892
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFloodMinHeight,
|
|
11869
11893
|
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodHeightStep,
|
|
11870
11894
|
"controls-position": "right",
|
|
11871
11895
|
onInput: _cache[15] || (_cache[15] = $event => paramsChanged('minHeight'))
|
|
11872
11896
|
}, null, 8
|
|
11873
11897
|
/* PROPS */
|
|
11874
|
-
, ["modelValue", "max", "step"])]),
|
|
11898
|
+
, ["modelValue", "min", "max", "step"])]),
|
|
11875
11899
|
_: 1
|
|
11876
11900
|
/* STABLE */
|
|
11877
11901
|
|
|
@@ -11905,12 +11929,12 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11905
11929
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodMaxHeight,
|
|
11906
11930
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodMaxHeight = $event),
|
|
11907
11931
|
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodHeightStep,
|
|
11908
|
-
min: 0,
|
|
11909
|
-
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).
|
|
11932
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFloodMaxHeight,
|
|
11933
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFloodMaxHeight,
|
|
11910
11934
|
onInput: _cache[17] || (_cache[17] = $event => paramsChanged('maxHeight'))
|
|
11911
11935
|
}, null, 8
|
|
11912
11936
|
/* PROPS */
|
|
11913
|
-
, ["modelValue", "step", "max"])]),
|
|
11937
|
+
, ["modelValue", "step", "min", "max"])]),
|
|
11914
11938
|
_: 1
|
|
11915
11939
|
/* STABLE */
|
|
11916
11940
|
|
|
@@ -11920,14 +11944,14 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
11920
11944
|
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_input_number, {
|
|
11921
11945
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodMaxHeight,
|
|
11922
11946
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodMaxHeight = $event),
|
|
11923
|
-
min: 0,
|
|
11924
|
-
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).
|
|
11947
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFloodMaxHeight,
|
|
11948
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFloodMaxHeight,
|
|
11925
11949
|
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).floodHeightStep,
|
|
11926
11950
|
"controls-position": "right",
|
|
11927
11951
|
onInput: _cache[19] || (_cache[19] = $event => paramsChanged('maxHeight'))
|
|
11928
11952
|
}, null, 8
|
|
11929
11953
|
/* PROPS */
|
|
11930
|
-
, ["modelValue", "max", "step"])]),
|
|
11954
|
+
, ["modelValue", "min", "max", "step"])]),
|
|
11931
11955
|
_: 1
|
|
11932
11956
|
/* STABLE */
|
|
11933
11957
|
|