Timeline

new Cesium.Timeline(container, clock)

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

Members

获取父容器。

Methods

销毁小部件。如果从布局中永久删除小部件, 则应该调用。

isDestroyed()boolean

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

zoomTo(startTime, stopTime)

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