cesium
A DataSource implementation which can be used to manually manage a group of entities.
alias CustomDataSource
- {String} [name] A human-readable name for this instance.
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);
A DataSource implementation which can be used to manually manage a group of entities.
alias CustomDataSource
- {String} [name] A human-readable name for this instance.
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);