DataSource

new Cesium.DataSource()

Define the interface of the datasource, which can convert any data into EntityCollection for use. This object is an interface for documentation purposes and cannot be instantiated directly.
See:

Members

changedEvent : Event

Get the event raised when the underlying data changes.

clock : DataSourceClock

Get the preferred clock setting for this datasource.

clustering : EntityCluster

Gets or sets the option set of the datasource. Multiple datasource objects share attributes.

entities : EntityCollection

Get a collection of instances.

errorEvent : Event

Get the event raised when an error is encountered during processing.

isLoading : Boolean

Gets a value indicating whether the datasource is loading data.

loadingEvent : Event

Get the event raised when the isLoading value changes.

name : String

Get the human readable name of the object.

show : Boolean

Get whether to display this datasource.

Methods

update(time)Boolean

Update the datasource at the specified time, optional. Retrieve data from the datasource based on the current dynamic time and scene state, and update it frame by frame.
Name Type Description
time JulianDate Simulation time.
Returns:
If the datasource is displayed as true at the specified time, otherwise it is false.