# CustomDataSource

#### new Cesium.CustomDataSource(name)
DataSources/CustomDataSource.js 40

  A `DataSource` implementation which can be used to manually manage a group of entities.

  Name | Type | Description
  --- | --- | ---
  `name` | String | optional A human-readable name for this instance.

  ##### Example:

      var dataSource = new Cesium.CustomDataSource('myData');

      var entity = dataSource.entities.add({
         position : Cesium.Cartesian3.fromDegrees(1, 2, 0),
         billboard : {
             image : 'image.png'
         }
      });

      viewer.dataSources.add(dataSource);

### Members

#### changedEvent : Event
DataSources/CustomDataSource.js 112

  Gets an event that will be raised when the underlying data changes.

#### clock : DataSourceClock
DataSources/CustomDataSource.js 73

  Gets or sets the clock for this instance.

#### clustering : EntityCluster
DataSources/CustomDataSource.js 157

  Gets or sets the clustering options for this data source. This object can be shared between multiple data sources.

#### entities : EntityCollection
DataSources/CustomDataSource.js 89

  Gets the collection of `Entity` instances.

#### errorEvent : Event
DataSources/CustomDataSource.js 122

  Gets an event that will be raised if an error is encountered during processing.

#### isLoading : Boolean
DataSources/CustomDataSource.js 99

  Gets or sets whether the data source is currently loading data.

#### loadingEvent : Event
DataSources/CustomDataSource.js 132

  Gets an event that will be raised when the data source either starts or stops loading.

#### name : String
DataSources/CustomDataSource.js 57

  Gets or sets a human-readable name for this instance.

#### show : Boolean
DataSources/CustomDataSource.js 142

  Gets whether or not this data source should be displayed.