Skip to content

Commit

Permalink
Merge pull request #487 from oterral/teo_add_externs
Browse files Browse the repository at this point in the history
Add some externs
  • Loading branch information
gberaudo authored Sep 1, 2017
2 parents 434e5e1 + e9307f5 commit c6f266c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Cesium.externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2664,6 +2664,11 @@ Cesium.GeoJsonDataSource.load = function(data, options) {};
*/
Cesium.KmlDataSource = function() {};

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

/**
* @typedef {{
* camera: Cesium.Camera,
Expand Down Expand Up @@ -2763,6 +2768,11 @@ Cesium.CustomDataSource.prototype.entities;
*/
Cesium.EntityCollection = function() {}

/**
* @param {string} id
* @return {Cesium.Entity}
*/
Cesium.EntityCollection.prototype.getById = function(id) {}

/**
* @param {Cesium.Entity} entity
Expand Down

0 comments on commit c6f266c

Please sign in to comment.