@kq_npm/client3d_webgl_vue 4.5.0 → 4.5.2
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/heatmap3d/index.js +2485 -0
- package/heatmap3d/style/heatmap3d.css +1 -0
- package/heatmap3d/style/index.js +3 -0
- package/index.js +2156 -240
- package/package.json +1 -1
- package/scenetohdimage/index.js +6 -3
- package/sceneview/index.js +2228 -273
- package/style.css +1 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.5.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.5.2","homepage":"","keywords":["KQGIS","webGL","Vue"],"sdkNames":["@kq_npm/client_icons_vue"],"restrictedVersion":true,"validateSDK":true,"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"@kq_npm/client_icons_vue":"0.8.5-beta","colorcolor":"1.1.1","echarts":"4.9.0","echarts-stat":"1.2.0","js-cookie":"3.0.1","omit.js":"2.0.2","save":"2.5.0","tinycolor2":"1.4.2","vue-i18n":"9.2.0-beta.36","xlsx":"0.18.5","css-vars-ponyfill":"2.4.8","html2canvas":"1.4.1","xe-utils":"3.5.4"}}
|
package/scenetohdimage/index.js
CHANGED
|
@@ -49,7 +49,8 @@ class SceneToHDImageViewModel {
|
|
|
49
49
|
canvas: this._viewer.scene.canvas
|
|
50
50
|
});
|
|
51
51
|
this.resizeExportRegionSize();
|
|
52
|
-
}
|
|
52
|
+
} // 重置输出图片尺寸
|
|
53
|
+
|
|
53
54
|
|
|
54
55
|
resizeExportRegionSize() {
|
|
55
56
|
document.getElementById('exportPictureRegion').style.width = Number(this._options.imgWidth) * Number(this._options.pantographRatio) + 'px';
|
|
@@ -87,7 +88,8 @@ class SceneToHDImageViewModel {
|
|
|
87
88
|
|
|
88
89
|
this._canvasToImage.saveAsimages(canvas, options);
|
|
89
90
|
}
|
|
90
|
-
}
|
|
91
|
+
} // 重新设置场景尺寸
|
|
92
|
+
|
|
91
93
|
|
|
92
94
|
scaleCesiumContainer() {
|
|
93
95
|
// var bWidth = document.getElementById(this._viewer._container.id).parentNode.clientWidth,
|
|
@@ -106,7 +108,8 @@ class SceneToHDImageViewModel {
|
|
|
106
108
|
|
|
107
109
|
changeDisplayArea() {
|
|
108
110
|
document.getElementById('exportPictureRegion').style.display = this._options.displayArea ? 'block' : 'none';
|
|
109
|
-
}
|
|
111
|
+
} // 调整出图范围尺寸
|
|
112
|
+
|
|
110
113
|
|
|
111
114
|
changPantographRatio() {
|
|
112
115
|
this._viewer.container.style.transform = `translate(-50%,-50%) scale(${this._options.pantographRatio})`;
|