new Cesium.Timeline(container, clock)

时间线是显示和控制当前场景时间的部件 .
Name Type Description
container Element The parent HTML container node for this widget.
clock Clock 要使用的时钟.

Members

container : Element

得到母容器.

Methods

destroy()

摧毁部件。 如果永久调用, 应该调用 从布局中删除部件 .

isDestroyed()boolean

Returns:
如果物体已被销毁, 则真实无误 .

resize()

调整部件大小以匹配容器大小.

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.