new Cesium.KmlTourFlyTo(duration, flyToMode, view)

Transitions the KmlTour to the next destination. This transition is facilitated using a specified flyToMode over a given number of seconds.
参数名称 类型 描述信息
duration number entry duration
flyToMode string KML fly to mode: bounce, smooth, etc
view KmlCamera | KmlLookAt KmlCamera or KmlLookAt



Returns options for Camera#flyTo or Camera#flyToBoundingSphere depends on this.view type.
参数名称 类型 描述信息
cameraOptions object options to merge with generated. See Camera#flyTo

play(done, camera, cameraOptions)

Play this playlist entry
参数名称 类型 描述信息
done KmlTourFlyTo.DoneCallback function which will be called when playback ends
camera Camera Cesium camera
cameraOptions object 可选 which will be merged with camera flyTo options. See Camera#flyTo
Stop execution of curent entry. Cancel camera flyTo



A function that will be executed when the flight completes.
参数名称 类型 描述信息
terminated boolean true if KmlTourFlyTo#stop was called before entry done playback.