@kq_npm/client3d_webgl_vue 2.4.7-beta → 2.4.9-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/compass/index.js +8 -1
- package/excavatefillanalysis/index.js +14 -10
- package/fixedzoomin/index.js +8 -1
- package/fixedzoomout/index.js +8 -1
- package/floodanalysis/index.js +62 -40
- package/gpuspatialquery/index.js +46 -55
- package/index.js +386 -327
- package/package.json +1 -1
- package/profileanalysis/index.js +49 -54
- package/resetview/index.js +8 -1
- package/scenceview/index.js +8 -4
- package/shadowanalysis/index.js +77 -75
- package/skylineanalysis/index.js +35 -26
- package/statusbar/index.js +11 -8
- package/terrainoperation/index.js +16 -10
- package/viewshedanalysis/index.js +33 -40
package/skylineanalysis/index.js
CHANGED
|
@@ -105,17 +105,7 @@ class SkylineAnalysisViewModel {
|
|
|
105
105
|
|
|
106
106
|
viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
107
107
|
|
|
108
|
-
viewer.scene.postProcessStages._fxaa.enabled = true; //
|
|
109
|
-
|
|
110
|
-
option = {
|
|
111
|
-
skylineColor: option.skylineColor || "#E6A23C",
|
|
112
|
-
skylineRadius: option.skylineRadius || 1000,
|
|
113
|
-
limitHeightBodyColor: option.limitHeightBodyColor || "#67C23A",
|
|
114
|
-
limitHeightBodyAlpha: option.limitHeightBodyAlpha || 0.7,
|
|
115
|
-
limitHeightBodyOutlineColor: option.limitHeightBodyOutlineColor || "#67C23A",
|
|
116
|
-
limitHeightBodyOutlineColorAlpha: option.limitHeightBodyOutlineColorAlpha || 0,
|
|
117
|
-
skylineWidth: option.skylineWidth || 2
|
|
118
|
-
}; // 创建分析参数对象
|
|
108
|
+
viewer.scene.postProcessStages._fxaa.enabled = true; // 创建分析参数对象
|
|
119
109
|
|
|
120
110
|
this._options = {
|
|
121
111
|
viewer: viewer,
|
|
@@ -123,7 +113,7 @@ class SkylineAnalysisViewModel {
|
|
|
123
113
|
//天际线颜色
|
|
124
114
|
faceColor: window.Cesium.Color.fromCssColorString(option.limitHeightBodyColor).withAlpha(option.limitHeightBodyAlpha),
|
|
125
115
|
//限高体颜色
|
|
126
|
-
faceOutlineColor: window.Cesium.Color.fromCssColorString(
|
|
116
|
+
faceOutlineColor: window.Cesium.Color.fromCssColorString("#E6A23C").withAlpha(0),
|
|
127
117
|
//限高体轮廓颜色
|
|
128
118
|
lineWidth: option.skylineWidth,
|
|
129
119
|
//天际线线宽
|
|
@@ -400,16 +390,35 @@ const __default__ = {
|
|
|
400
390
|
|
|
401
391
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
402
392
|
skylineColor: props.settingParams && props.settingParams.skylineColor || "#E6A23C",
|
|
393
|
+
// 天际线颜色
|
|
403
394
|
skylineRadius: props.settingParams && props.settingParams.skylineRadius || 1000,
|
|
395
|
+
// 天际线半径
|
|
396
|
+
minSkylineRadius: props.settingParams && props.settingParams.minSkylineRadius || 0,
|
|
397
|
+
// 天际线半径范围最小值
|
|
398
|
+
maxSkylineRadius: props.settingParams && props.settingParams.maxSkylineRadius || 5000,
|
|
399
|
+
// 天际线半径范围最大值
|
|
404
400
|
limitHeightBodyColor: props.settingParams && props.settingParams.limitHeightBodyColor || "#67C23A",
|
|
401
|
+
// 限高体颜色
|
|
405
402
|
limitHeightBodyAlpha: props.settingParams && props.settingParams.limitHeightBodyAlpha || 0.7,
|
|
406
|
-
|
|
403
|
+
// 限高体透明度
|
|
404
|
+
minLimitHeightBodyAlpha: props.settingParams && props.settingParams.minLimitHeightBodyAlpha || 0,
|
|
405
|
+
// 限高体透明度范围最小值
|
|
406
|
+
maxLimitHeightBodyAlpha: props.settingParams && props.settingParams.maxLimitHeightBodyAlpha || 1,
|
|
407
|
+
// 限高体透明度范围最大值
|
|
408
|
+
skylineWidth: 2 // 天际线宽度
|
|
409
|
+
|
|
407
410
|
});
|
|
408
411
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
409
412
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
410
413
|
if (scenceView) {
|
|
411
414
|
language.value = scenceView._language;
|
|
412
|
-
viewModel = new SkylineAnalysisViewModel(scenceView._viewer,
|
|
415
|
+
viewModel = new SkylineAnalysisViewModel(scenceView._viewer, {
|
|
416
|
+
skylineColor: formItem.skylineColor || "#E6A23C",
|
|
417
|
+
skylineRadius: formItem.skylineRadius || 1000,
|
|
418
|
+
limitHeightBodyColor: formItem.limitHeightBodyColor || "#67C23A",
|
|
419
|
+
limitHeightBodyAlpha: formItem.limitHeightBodyAlpha || 0.7,
|
|
420
|
+
skylineWidth: formItem.skylineWidth || 2
|
|
421
|
+
}, resultEcahrtVis);
|
|
413
422
|
viewModel._skylineAnalysisChartTitle = language.value["skylineAnalysisChartTitle"];
|
|
414
423
|
}
|
|
415
424
|
});
|
|
@@ -543,12 +552,12 @@ const __default__ = {
|
|
|
543
552
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).skylineRadius,
|
|
544
553
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).skylineRadius = $event),
|
|
545
554
|
step: 100,
|
|
546
|
-
min: 0,
|
|
547
|
-
max:
|
|
555
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minSkylineRadius,
|
|
556
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxSkylineRadius,
|
|
548
557
|
onInput: onChangeSkylineRadius
|
|
549
558
|
}, null, 8
|
|
550
559
|
/* PROPS */
|
|
551
|
-
, ["modelValue"])]),
|
|
560
|
+
, ["modelValue", "min", "max"])]),
|
|
552
561
|
_: 1
|
|
553
562
|
/* STABLE */
|
|
554
563
|
|
|
@@ -558,13 +567,13 @@ const __default__ = {
|
|
|
558
567
|
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, {
|
|
559
568
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).skylineRadius,
|
|
560
569
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).skylineRadius = $event),
|
|
561
|
-
min: 0,
|
|
570
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minSkylineRadius,
|
|
562
571
|
step: 100,
|
|
563
|
-
max:
|
|
572
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxSkylineRadius,
|
|
564
573
|
"controls-position": "right"
|
|
565
574
|
}, null, 8
|
|
566
575
|
/* PROPS */
|
|
567
|
-
, ["modelValue"])]),
|
|
576
|
+
, ["modelValue", "min", "max"])]),
|
|
568
577
|
_: 1
|
|
569
578
|
/* STABLE */
|
|
570
579
|
|
|
@@ -618,12 +627,12 @@ const __default__ = {
|
|
|
618
627
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).limitHeightBodyAlpha,
|
|
619
628
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).limitHeightBodyAlpha = $event),
|
|
620
629
|
step: 0.1,
|
|
621
|
-
min: 0,
|
|
622
|
-
max:
|
|
630
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minLimitHeightBodyAlpha,
|
|
631
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxLimitHeightBodyAlpha,
|
|
623
632
|
onInput: onChangeLimitHeightBodyAlpha
|
|
624
633
|
}, null, 8
|
|
625
634
|
/* PROPS */
|
|
626
|
-
, ["modelValue", "step"])]),
|
|
635
|
+
, ["modelValue", "step", "min", "max"])]),
|
|
627
636
|
_: 1
|
|
628
637
|
/* STABLE */
|
|
629
638
|
|
|
@@ -633,13 +642,13 @@ const __default__ = {
|
|
|
633
642
|
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, {
|
|
634
643
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).limitHeightBodyAlpha,
|
|
635
644
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).limitHeightBodyAlpha = $event),
|
|
636
|
-
min: 0,
|
|
645
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minLimitHeightBodyAlpha,
|
|
637
646
|
step: 0.1,
|
|
638
|
-
max:
|
|
647
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxLimitHeightBodyAlpha,
|
|
639
648
|
"controls-position": "right"
|
|
640
649
|
}, null, 8
|
|
641
650
|
/* PROPS */
|
|
642
|
-
, ["modelValue", "step"])]),
|
|
651
|
+
, ["modelValue", "min", "step", "max"])]),
|
|
643
652
|
_: 1
|
|
644
653
|
/* STABLE */
|
|
645
654
|
|
package/statusbar/index.js
CHANGED
|
@@ -74,7 +74,7 @@ module.exports = function (cssWithMappingToString) {
|
|
|
74
74
|
|
|
75
75
|
/***/ }),
|
|
76
76
|
|
|
77
|
-
/***/
|
|
77
|
+
/***/ 339:
|
|
78
78
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
79
79
|
|
|
80
80
|
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(705);
|
|
@@ -518,7 +518,10 @@ const __default__ = {
|
|
|
518
518
|
// 隐藏视点高
|
|
519
519
|
hideEyeAlt: Boolean,
|
|
520
520
|
// 隐藏版权信息
|
|
521
|
-
hideCopyright:
|
|
521
|
+
hideCopyright: {
|
|
522
|
+
type: Boolean,
|
|
523
|
+
default: true
|
|
524
|
+
},
|
|
522
525
|
// 版权信息文字
|
|
523
526
|
copyrightText: String
|
|
524
527
|
},
|
|
@@ -544,9 +547,9 @@ const __default__ = {
|
|
|
544
547
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
545
548
|
var injectStylesIntoStyleTag = __webpack_require__(379);
|
|
546
549
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
547
|
-
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=
|
|
548
|
-
var
|
|
549
|
-
;// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=
|
|
550
|
+
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=6670a5a4&lang=scss
|
|
551
|
+
var StatusBarvue_type_style_index_0_id_6670a5a4_lang_scss = __webpack_require__(339);
|
|
552
|
+
;// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=6670a5a4&lang=scss
|
|
550
553
|
|
|
551
554
|
|
|
552
555
|
|
|
@@ -555,12 +558,12 @@ var options = {};
|
|
|
555
558
|
options.insert = "head";
|
|
556
559
|
options.singleton = false;
|
|
557
560
|
|
|
558
|
-
var update = injectStylesIntoStyleTag_default()(
|
|
561
|
+
var update = injectStylesIntoStyleTag_default()(StatusBarvue_type_style_index_0_id_6670a5a4_lang_scss/* default */.Z, options);
|
|
559
562
|
|
|
560
563
|
|
|
561
564
|
|
|
562
|
-
/* harmony default export */ var
|
|
563
|
-
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=
|
|
565
|
+
/* harmony default export */ var statusbar_StatusBarvue_type_style_index_0_id_6670a5a4_lang_scss = (StatusBarvue_type_style_index_0_id_6670a5a4_lang_scss/* default.locals */.Z.locals || {});
|
|
566
|
+
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=style&index=0&id=6670a5a4&lang=scss
|
|
564
567
|
|
|
565
568
|
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue
|
|
566
569
|
|
|
@@ -306,6 +306,7 @@ const __default__ = {
|
|
|
306
306
|
settingParams: {
|
|
307
307
|
type: Object
|
|
308
308
|
},
|
|
309
|
+
// 地形开挖和地形修改显示设置。0:同时显示;1:显示地形开挖;2:显示地形修改
|
|
309
310
|
operationMode: {
|
|
310
311
|
type: Number,
|
|
311
312
|
default: 0
|
|
@@ -324,7 +325,13 @@ const __default__ = {
|
|
|
324
325
|
|
|
325
326
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
326
327
|
terrainStyle: props.settingParams && props.settingParams.terrainStyle || 1,
|
|
327
|
-
|
|
328
|
+
// 地形操作类型。0:地形开挖;1:地形修改
|
|
329
|
+
excavationDepth: props.settingParams && props.settingParams.excavationDepth || 500,
|
|
330
|
+
// 地形开挖深度
|
|
331
|
+
minExcavationDepth: props.settingParams && props.settingParams.minExcavationDepth || 0,
|
|
332
|
+
// 地形开挖深度范围最小值
|
|
333
|
+
maxExcavationDepth: props.settingParams && props.settingParams.maxExcavationDepth || 5000 // 地形开挖深度范围最大值
|
|
334
|
+
|
|
328
335
|
});
|
|
329
336
|
let viewModel = null;
|
|
330
337
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
@@ -337,11 +344,10 @@ const __default__ = {
|
|
|
337
344
|
}
|
|
338
345
|
|
|
339
346
|
language.value = scenceView._language;
|
|
340
|
-
|
|
347
|
+
viewModel = new TerrainOperationViewModel(scenceView, {
|
|
341
348
|
terrainStyle: formItem.terrainStyle,
|
|
342
349
|
excavationDepth: formItem.excavationDepth
|
|
343
|
-
};
|
|
344
|
-
viewModel = new TerrainOperationViewModel(scenceView, options);
|
|
350
|
+
});
|
|
345
351
|
}
|
|
346
352
|
});
|
|
347
353
|
}); // 改变样式
|
|
@@ -445,13 +451,13 @@ const __default__ = {
|
|
|
445
451
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).excavationDepth,
|
|
446
452
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).excavationDepth = $event),
|
|
447
453
|
step: 100,
|
|
448
|
-
min:
|
|
449
|
-
max:
|
|
454
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minExcavationDepth,
|
|
455
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxExcavationDepth,
|
|
450
456
|
onChange: _cache[3] || (_cache[3] = $event => changeHeight()),
|
|
451
457
|
onClick: _cache[4] || (_cache[4] = $event => changeHeight())
|
|
452
458
|
}, null, 8
|
|
453
459
|
/* PROPS */
|
|
454
|
-
, ["modelValue"])]),
|
|
460
|
+
, ["modelValue", "min", "max"])]),
|
|
455
461
|
_: 1
|
|
456
462
|
/* STABLE */
|
|
457
463
|
|
|
@@ -466,14 +472,14 @@ const __default__ = {
|
|
|
466
472
|
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, {
|
|
467
473
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).excavationDepth,
|
|
468
474
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).excavationDepth = $event),
|
|
469
|
-
min:
|
|
475
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minExcavationDepth,
|
|
470
476
|
step: 100,
|
|
471
|
-
max:
|
|
477
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxExcavationDepth,
|
|
472
478
|
"controls-position": "right",
|
|
473
479
|
onInput: _cache[6] || (_cache[6] = $event => changeHeight())
|
|
474
480
|
}, null, 8
|
|
475
481
|
/* PROPS */
|
|
476
|
-
, ["modelValue"])]),
|
|
482
|
+
, ["modelValue", "min", "max"])]),
|
|
477
483
|
_: 1
|
|
478
484
|
/* STABLE */
|
|
479
485
|
|
|
@@ -187,30 +187,6 @@ const __default__ = {
|
|
|
187
187
|
};
|
|
188
188
|
/* harmony default export */ var ViewshedAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
189
189
|
props: {
|
|
190
|
-
minOffsetHeight: {
|
|
191
|
-
type: Number,
|
|
192
|
-
default: 0
|
|
193
|
-
},
|
|
194
|
-
maxOffsetHeight: {
|
|
195
|
-
type: Number,
|
|
196
|
-
default: 100
|
|
197
|
-
},
|
|
198
|
-
minFovV: {
|
|
199
|
-
type: Number,
|
|
200
|
-
default: 0
|
|
201
|
-
},
|
|
202
|
-
maxFovV: {
|
|
203
|
-
type: Number,
|
|
204
|
-
default: 90
|
|
205
|
-
},
|
|
206
|
-
minFovH: {
|
|
207
|
-
type: Number,
|
|
208
|
-
default: 0
|
|
209
|
-
},
|
|
210
|
-
maxFovH: {
|
|
211
|
-
type: Number,
|
|
212
|
-
default: 180
|
|
213
|
-
},
|
|
214
190
|
// 设置参数
|
|
215
191
|
settingParams: {
|
|
216
192
|
type: Object
|
|
@@ -230,10 +206,27 @@ const __default__ = {
|
|
|
230
206
|
|
|
231
207
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
232
208
|
offsetHeight: props.settingParams && props.settingParams.offsetHeight || 1.8,
|
|
209
|
+
// 视点高
|
|
210
|
+
minOffsetHeight: props.settingParams && props.settingParams.minOffsetHeight || 0,
|
|
211
|
+
// 视点高范围最小值
|
|
212
|
+
maxOffsetHeight: props.settingParams && props.settingParams.maxOffsetHeight || 100,
|
|
213
|
+
// 视点高范围最大值
|
|
233
214
|
fovV: props.settingParams && props.settingParams.fovV || 60,
|
|
215
|
+
// 垂直张角
|
|
216
|
+
minFovV: props.settingParams && props.settingParams.minFovV || 0,
|
|
217
|
+
// 垂直张角范围最小值
|
|
218
|
+
maxFovV: props.settingParams && props.settingParams.maxFovV || 90,
|
|
219
|
+
// 垂直张角范围最大值
|
|
234
220
|
fovH: props.settingParams && props.settingParams.fovH || 120,
|
|
221
|
+
// 水平张角范围
|
|
222
|
+
minFovH: props.settingParams && props.settingParams.minFovH || 0,
|
|
223
|
+
// 水平张角范围最小值
|
|
224
|
+
maxFovH: props.settingParams && props.settingParams.maxFovH || 180,
|
|
225
|
+
// 水平张角范围最大值
|
|
235
226
|
visibleColor: props.settingParams && props.settingParams.visibleColor || "#409EFF",
|
|
227
|
+
// 可见颜色
|
|
236
228
|
invisibleColor: props.settingParams && props.settingParams.invisibleColor || "#F56C6C",
|
|
229
|
+
// 不可见颜色
|
|
237
230
|
lineColor: props.settingParams && props.settingParams.lineColor || "#E6A23C"
|
|
238
231
|
});
|
|
239
232
|
let viewModel = null;
|
|
@@ -243,14 +236,14 @@ const __default__ = {
|
|
|
243
236
|
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
244
237
|
if (scenceView) {
|
|
245
238
|
language.value = scenceView._language;
|
|
246
|
-
|
|
239
|
+
viewModel = new ViewshedAnalysisViewModel(scenceView, {
|
|
247
240
|
offsetHeight: formItem.offsetHeight,
|
|
248
241
|
fovV: formItem.fovV,
|
|
249
242
|
fovH: formItem.fovH,
|
|
250
243
|
visibleColor: formItem.visibleColor,
|
|
251
|
-
invisibleColor: formItem.invisibleColor
|
|
252
|
-
|
|
253
|
-
|
|
244
|
+
invisibleColor: formItem.invisibleColor,
|
|
245
|
+
lineColor: "#E6A23C"
|
|
246
|
+
});
|
|
254
247
|
}
|
|
255
248
|
});
|
|
256
249
|
});
|
|
@@ -362,8 +355,8 @@ const __default__ = {
|
|
|
362
355
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).offsetHeight,
|
|
363
356
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).offsetHeight = $event),
|
|
364
357
|
step: 1,
|
|
365
|
-
min:
|
|
366
|
-
max:
|
|
358
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minOffsetHeight,
|
|
359
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxOffsetHeight,
|
|
367
360
|
onInput: _cache[1] || (_cache[1] = $event => paramsChanged('height'))
|
|
368
361
|
}, null, 8
|
|
369
362
|
/* PROPS */
|
|
@@ -377,8 +370,8 @@ const __default__ = {
|
|
|
377
370
|
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, {
|
|
378
371
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).offsetHeight,
|
|
379
372
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).offsetHeight = $event),
|
|
380
|
-
min:
|
|
381
|
-
max:
|
|
373
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minOffsetHeight,
|
|
374
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxOffsetHeight,
|
|
382
375
|
step: 1,
|
|
383
376
|
"controls-position": "right",
|
|
384
377
|
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('height'))
|
|
@@ -418,8 +411,8 @@ const __default__ = {
|
|
|
418
411
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovV,
|
|
419
412
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovV = $event),
|
|
420
413
|
step: 1,
|
|
421
|
-
min:
|
|
422
|
-
max:
|
|
414
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFovV,
|
|
415
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFovV,
|
|
423
416
|
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('fovV'))
|
|
424
417
|
}, null, 8
|
|
425
418
|
/* PROPS */
|
|
@@ -433,8 +426,8 @@ const __default__ = {
|
|
|
433
426
|
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, {
|
|
434
427
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovV,
|
|
435
428
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovV = $event),
|
|
436
|
-
min:
|
|
437
|
-
max:
|
|
429
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFovV,
|
|
430
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFovV,
|
|
438
431
|
step: 1,
|
|
439
432
|
"controls-position": "right",
|
|
440
433
|
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('fovV'))
|
|
@@ -474,8 +467,8 @@ const __default__ = {
|
|
|
474
467
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovH,
|
|
475
468
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovH = $event),
|
|
476
469
|
step: 1,
|
|
477
|
-
min:
|
|
478
|
-
max:
|
|
470
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFovH,
|
|
471
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFovH,
|
|
479
472
|
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('fovH'))
|
|
480
473
|
}, null, 8
|
|
481
474
|
/* PROPS */
|
|
@@ -489,8 +482,8 @@ const __default__ = {
|
|
|
489
482
|
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, {
|
|
490
483
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovH,
|
|
491
484
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).fovH = $event),
|
|
492
|
-
min:
|
|
493
|
-
max:
|
|
485
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).minFovH,
|
|
486
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).maxFovH,
|
|
494
487
|
step: 1,
|
|
495
488
|
"controls-position": "right",
|
|
496
489
|
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('fovH'))
|