Timeline

new Cesium.Timeline(container, clock)

Timeline 是一个用于显示和控制当前场景时间的控件。
Name Type Description
container Element 此控件的父 HTML 容器节点。
clock Clock 要使用的时钟。

Members

获取父容器。

Methods

销毁控件。如果从布局中永久移除控件,应调用此方法。

isDestroyed()boolean

Returns:
如果对象已被销毁则返回 true,否则返回 false。
调整控件大小以匹配容器大小。

zoomTo(startTime, stopTime)

将视图设置为提供的时间范围。
Name Type Description
startTime JulianDate 起始时间。
stopTime JulianDate 结束时间。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.