DataSource

new SuperMap3D.DataSource()

Define the interface of the data source, 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 an event raised when the underlying data changes.

clock : DataSourceClock

Get the preferred clock setting for this data source.

clustering : EntityCluster

Get or set the option set of the data source, and multiple data source objects have common properties.

entities : EntityCollection

Get a collection of instances.

errorEvent : Event

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

isLoading : Boolean

Gets a value indicating whether the data source 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

Gets whether to display this data source.

Methods

update(time)Boolean

Update the data source at the specified time, optional. Data is retrieved from the data source based on the current dynamic time and scene state, and updated frame by frame.
Name Type Description
time JulianDate Simulation time.
Returns:
true if the data source is displayed at the stated time, otherwise false.