Skip to content

Commit

Permalink
Merge pull request #295 from gberaudo/add_entities
Browse files Browse the repository at this point in the history
Add entities to the globe
  • Loading branch information
gberaudo committed Dec 9, 2015
2 parents 10c5fcf + b095cad commit 6189779
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Cesium.externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2566,6 +2566,33 @@ Cesium.DataSourceDisplay = function(opt_opts) {};
Cesium.DataSourceDisplay.prototype.update = function(time) {};


/**
* @type {Cesium.CustomDataSource}
*/
Cesium.DataSourceDisplay.prototype.defaultDataSource;



/**
* @param {string} name
* @constructor
*/
Cesium.CustomDataSource = function(name) {};


/**
* @type {Cesium.EntityCollection}
*/
Cesium.CustomDataSource.prototype.entities;



/**
* @constructor
*/
Cesium.EntityCollection = function() {}


/**
* @type {!Cesium.UniformState}
*/
Expand Down
9 changes: 9 additions & 0 deletions src/ol3cesium.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,15 @@ olcs.OLCesium.prototype.getDataSources = function() {
};


/**
* @return {!Cesium.DataSourceDisplay}
* @api
*/
olcs.OLCesium.prototype.getDataSourceDisplay = function() {
return this.dataSourceDisplay_;
};


/**
* @return {boolean}
* @api
Expand Down

0 comments on commit 6189779

Please sign in to comment.