@kq_npm/client3d_webgl_vue 4.5.17-beta → 4.5.19-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/adddata/index.js +171 -29
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +1 -1
- package/clientPrint/index.js +657 -210
- package/excavatefillanalysis/index.js +1 -1
- package/floodanalysis/index.js +1 -1
- package/heatmap3d/index.js +16 -9
- package/index.js +651 -210
- package/modelselect/index.js +3 -3
- package/package.json +1 -1
- package/sceneapp/index.js +225 -53
- package/sceneview/index.js +657 -210
- package/slopeanalysis/index.js +1 -1
- package/slopeaspectanalysis/index.js +1 -1
- package/style.css +1 -1
- package/terrainoperation/index.js +4 -6
- package/terrainprofileanalysis/index.js +1 -1
- package/videofusion/index.js +17 -17
- package/videoproject/index.js +18 -18
|
@@ -297,7 +297,7 @@ class ExcavateFillAnalysisViewModel {
|
|
|
297
297
|
start() {
|
|
298
298
|
// 判断是否添加了地形
|
|
299
299
|
if (this._options.viewer.terrainProvider.availability) {
|
|
300
|
-
if (this._options.viewer.terrainProvider
|
|
300
|
+
if (this._options.viewer.terrainProvider && this._options.viewer.terrainProvider.constructor.name == "CesiumTerrainProvider") {
|
|
301
301
|
this._drawManager.startDraw("polygon", {
|
|
302
302
|
clampToGround: true
|
|
303
303
|
});
|
package/floodanalysis/index.js
CHANGED
|
@@ -351,7 +351,7 @@ class FloodAnalysisViewModel {
|
|
|
351
351
|
// 判断是否添加了地形
|
|
352
352
|
if (this._mode === 0) {
|
|
353
353
|
if (this._floodModelAnalysis.viewer.terrainProvider.availability) {
|
|
354
|
-
if (this._floodModelAnalysis.viewer.terrainProvider
|
|
354
|
+
if (this._floodModelAnalysis.viewer.terrainProvider && this._floodModelAnalysis.viewer.terrainProvider.constructor.name == "CesiumTerrainProvider") {
|
|
355
355
|
this.clear();
|
|
356
356
|
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
357
357
|
} else {
|
package/heatmap3d/index.js
CHANGED
|
@@ -789,6 +789,13 @@ class Heatmap3dViewModel {
|
|
|
789
789
|
if (this._options.gradient) this._heatmap.gradient = this._options.gradient;
|
|
790
790
|
this._viewer.scene.primitives.add(this._heatmap);
|
|
791
791
|
this._heatmap && this._heatmap.setData(heatmapData);
|
|
792
|
+
if (this._heatmap) {
|
|
793
|
+
this._heatmap.readyPromise.then(() => {
|
|
794
|
+
this._viewer.camera.flyTo({
|
|
795
|
+
destination: this._heatmap._rectangle
|
|
796
|
+
});
|
|
797
|
+
});
|
|
798
|
+
}
|
|
792
799
|
}
|
|
793
800
|
// 创建二维热力图对象
|
|
794
801
|
initHeatmap2d(heatmapData) {
|
|
@@ -813,6 +820,9 @@ class Heatmap3dViewModel {
|
|
|
813
820
|
show: this._options.heatmapType == "2D" ? this._options.isShow : false
|
|
814
821
|
});
|
|
815
822
|
this._viewer.imageryLayers.add(this._heatmap2dCountLayer);
|
|
823
|
+
this._viewer.camera.flyTo({
|
|
824
|
+
destination: Cesium.Rectangle.fromDegrees(extent[0], extent[1], extent[2], extent[3])
|
|
825
|
+
});
|
|
816
826
|
}
|
|
817
827
|
// 切换二维数据
|
|
818
828
|
changeHeatmap2d() {
|
|
@@ -1487,7 +1497,6 @@ const __default__ = {
|
|
|
1487
1497
|
return;
|
|
1488
1498
|
}
|
|
1489
1499
|
}).otherwise(ret => {
|
|
1490
|
-
console.log(ret);
|
|
1491
1500
|
(0,message/* default */.Z)({
|
|
1492
1501
|
message: language.value.dataParsingMessage + "!",
|
|
1493
1502
|
type: "error",
|
|
@@ -1660,17 +1669,16 @@ const __default__ = {
|
|
|
1660
1669
|
ref_key: "headerTempRef",
|
|
1661
1670
|
ref: headerTempRef
|
|
1662
1671
|
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", Heatmap3dvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1663
|
-
gutter: 20,
|
|
1664
1672
|
class: "rowClass"
|
|
1665
1673
|
}, {
|
|
1666
1674
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1667
|
-
span:
|
|
1675
|
+
span: 7,
|
|
1668
1676
|
class: "colClass"
|
|
1669
1677
|
}, {
|
|
1670
1678
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).dataPath), 1 /* TEXT */)]),
|
|
1671
1679
|
_: 1 /* STABLE */
|
|
1672
1680
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1673
|
-
span:
|
|
1681
|
+
span: 17
|
|
1674
1682
|
}, {
|
|
1675
1683
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input, {
|
|
1676
1684
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).dataPath,
|
|
@@ -1701,17 +1709,16 @@ const __default__ = {
|
|
|
1701
1709
|
})]),
|
|
1702
1710
|
_: 1 /* STABLE */
|
|
1703
1711
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1704
|
-
gutter: 20,
|
|
1705
1712
|
class: "rowClass"
|
|
1706
1713
|
}, {
|
|
1707
1714
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1708
|
-
span:
|
|
1715
|
+
span: 7,
|
|
1709
1716
|
class: "colClass"
|
|
1710
1717
|
}, {
|
|
1711
1718
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).heatmapType), 1 /* TEXT */)]),
|
|
1712
1719
|
_: 1 /* STABLE */
|
|
1713
1720
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1714
|
-
span:
|
|
1721
|
+
span: 17
|
|
1715
1722
|
}, {
|
|
1716
1723
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_group, {
|
|
1717
1724
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heatmapType,
|
|
@@ -1721,7 +1728,7 @@ const __default__ = {
|
|
|
1721
1728
|
label: "3D",
|
|
1722
1729
|
onChange: _cache[2] || (_cache[2] = $event => paramsChanged('heatmapType'))
|
|
1723
1730
|
}, {
|
|
1724
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
1731
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).classic3d), 1 /* TEXT */)]),
|
|
1725
1732
|
_: 1 /* STABLE */
|
|
1726
1733
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
1727
1734
|
label: "2D",
|
|
@@ -1969,7 +1976,7 @@ const __default__ = {
|
|
|
1969
1976
|
_: 1 /* STABLE */
|
|
1970
1977
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1971
1978
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
1972
|
-
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).height
|
|
1979
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).height + '(m)'
|
|
1973
1980
|
}, {
|
|
1974
1981
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1975
1982
|
style: {
|