Timeline

new Cesium.Timeline(container, clock)

The Timeline is a widget for displaying and controlling the current scene time.
参数名称 类型 描述信息
container Element The parent HTML container node for this widget.
clock Clock The clock to use.

成员(属性)

Gets the parent container.

方法

Destroys the widget. Should be called if permanently removing the widget from layout.

isDestroyed()boolean

返回值:
true if the object has been destroyed, false otherwise.
Resizes the widget to match the container size.

zoomTo(startTime, stopTime)

Sets the view to the provided times.
参数名称 类型 描述信息
startTime JulianDate The start time.
stopTime JulianDate The stop time.