KmlTourFlyTo

new Cesium.KmlTourFlyTo(duration, flyToMode, view)

将 KmlTour 过渡到下一个目的地。这种转变是便利的 在给定的秒数内使用指定的 flyToMode。
Name Type Description
duration number 参赛时长
flyToMode string KML 飞向模式:弹跳、平滑等
view KmlCamera | KmlLookAt KmlCamera 或 KmlLookAt
See:

Methods

getCameraOptions(cameraOptions)object

返回 Camera#flyToCamera#flyToBoundingSphere 的选项 依赖于 this.view 类型。
Name Type Description
cameraOptions object 选项与 generated 合并。 See Camera#flyTo
Returns:

play(done, camera, cameraOptions)

播放此播放列表条目
Name Type Description
done KmlTourFlyTo.DoneCallback 播放结束时将调用的函数
camera Camera Cesium 相机
cameraOptions object optional ,该选项将与相机 flyTo 选项合并。看 Camera#flyTo
停止执行当前输入。取消相机 flyTo

Type Definitions

Cesium.KmlTourFlyTo.DoneCallback(terminated)

飞行结束时将执行的函数。
Name Type Description
terminated boolean 如果 KmlTourFlyTo#stop 为 在 Entry 完成播放之前调用。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.