@hzab/map-combine 0.2.3 → 0.2.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # @hzab/map-combine0.2.4
2
+
3
+ fix: Cesium flyToViewer use flyTo
4
+
1
5
  # @hzab/map-combine0.2.3
2
6
 
3
7
  fix: 流动线可配置图形+颜色
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hzab/map-combine",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "地图组件",
5
5
  "main": "src",
6
6
  "scripts": {
@@ -261,7 +261,7 @@ export class CesiumMap extends MapCombine {
261
261
  );
262
262
 
263
263
  // 设置相机视角
264
- this.viewer.camera.setView({
264
+ this.viewer.camera.flyTo({
265
265
  destination: rectangle,
266
266
  ...opt,
267
267
  });