viewer.zoomTo(entity1); viewer.zoomTo(viewer.entities); viewer.camera.flyTo({
destination: Cesium.Cartesian3.fromDegrees(-122.19, 46.25, 5000.0),
orientation: {
heading: Cesium.Math.toRadians(175.0),
pitch: Cesium.Math.toRadians(-35.0),
roll: 0.0
}
});
参考资料:https://blog.csdn.net/pyx6119822/article/details/81208151?utm_source=blogxgwz0