@kq_npm/client3d_webgl_vue 4.5.17-beta → 4.5.18
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/clientPrint/index.js +170 -58
- package/heatmap3d/index.js +16 -8
- package/index.js +168 -58
- package/package.json +1 -1
- package/sceneview/index.js +170 -58
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() {
|
|
@@ -1660,17 +1670,16 @@ const __default__ = {
|
|
|
1660
1670
|
ref_key: "headerTempRef",
|
|
1661
1671
|
ref: headerTempRef
|
|
1662
1672
|
}, 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
1673
|
class: "rowClass"
|
|
1665
1674
|
}, {
|
|
1666
1675
|
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:
|
|
1676
|
+
span: 7,
|
|
1668
1677
|
class: "colClass"
|
|
1669
1678
|
}, {
|
|
1670
1679
|
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
1680
|
_: 1 /* STABLE */
|
|
1672
1681
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1673
|
-
span:
|
|
1682
|
+
span: 17
|
|
1674
1683
|
}, {
|
|
1675
1684
|
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
1685
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).dataPath,
|
|
@@ -1701,17 +1710,16 @@ const __default__ = {
|
|
|
1701
1710
|
})]),
|
|
1702
1711
|
_: 1 /* STABLE */
|
|
1703
1712
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1704
|
-
gutter: 20,
|
|
1705
1713
|
class: "rowClass"
|
|
1706
1714
|
}, {
|
|
1707
1715
|
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:
|
|
1716
|
+
span: 7,
|
|
1709
1717
|
class: "colClass"
|
|
1710
1718
|
}, {
|
|
1711
1719
|
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
1720
|
_: 1 /* STABLE */
|
|
1713
1721
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1714
|
-
span:
|
|
1722
|
+
span: 17
|
|
1715
1723
|
}, {
|
|
1716
1724
|
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
1725
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heatmapType,
|
|
@@ -1721,7 +1729,7 @@ const __default__ = {
|
|
|
1721
1729
|
label: "3D",
|
|
1722
1730
|
onChange: _cache[2] || (_cache[2] = $event => paramsChanged('heatmapType'))
|
|
1723
1731
|
}, {
|
|
1724
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)(
|
|
1732
|
+
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
1733
|
_: 1 /* STABLE */
|
|
1726
1734
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
1727
1735
|
label: "2D",
|
|
@@ -1969,7 +1977,7 @@ const __default__ = {
|
|
|
1969
1977
|
_: 1 /* STABLE */
|
|
1970
1978
|
}), (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
1979
|
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
|
|
1980
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).height + '(m)'
|
|
1973
1981
|
}, {
|
|
1974
1982
|
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
1983
|
style: {
|