Class: Timeline

Timeline

new Timeline(container, clock)

A timeline is a component used to display and control the current scene time.

Name Type Description
container Element

The parent HTML container node of this widget.

clock Clock

The clock used.

Members

containerElement

Retrieve the parent container.

Methods

destroy()

Destruction of components. If you want to permanently delete a widget from the layout, you should call this command.

isDestroyed(){Boolean}

Returns:
Type Description
Boolean If the object has been destroyed, it is true; otherwise, it is false.

resize()

Adjust the size of the widget to match the container size.

zoomTo(startTime, stopTime)

Set the view to the provided time.

Name Type Description
startTime JulianDate

Start time.

stopTime JulianDate

End time.