new Cesium.KmlTourFlyTo(duration, flyToMode, view)

将 KmlTour 转换到下一个目的地。 推动这一过渡 使用指定的 FlyToMode 数秒.
Name Type Description
duration number entry duration
flyToMode string KML fly to mode: bounce, smooth, etc
view KmlCamera | KmlLookAt KmlCamera 或 KmlLLookAt 图像
See:

Methods

getCameraOptions(cameraOptions)object

Returns options for Camera#flyTo or Camera#flyToBoundingSphere depends on this.view type.
Name Type Description
cameraOptions object options to merge with generated. See Camera#flyTo
Returns:

play(done, camera, cameraOptions)

播放此播放列表条目
Name Type Description
done KmlTourFlyTo.DoneCallback 函数,当播放结束时将调用
camera Camera Cesium camera
cameraOptions object optional which will be merged with camera flyTo options. See Camera#flyTo

stop()

停止执行典狱录 取消相机飞到

Type Definitions

Cesium.KmlTourFlyTo.DoneCallback(terminated)

飞行完成后将执行的函数 .
Name Type Description
terminated boolean true if KmlTourFlyTo#stop was 在重新播放条目之前调用 .
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.