Skip to content

Commit c6f266c

Browse files
authored
Merge pull request #487 from oterral/teo_add_externs
Add some externs
2 parents 434e5e1 + e9307f5 commit c6f266c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Cesium.externs.js

+10
Original file line numberDiff line numberDiff line change
@@ -2664,6 +2664,11 @@ Cesium.GeoJsonDataSource.load = function(data, options) {};
26642664
*/
26652665
Cesium.KmlDataSource = function() {};
26662666

2667+
/**
2668+
* @type {Cesium.EntityCollection}
2669+
*/
2670+
Cesium.KmlDataSource.prototype.entities;
2671+
26672672
/**
26682673
* @typedef {{
26692674
* camera: Cesium.Camera,
@@ -2763,6 +2768,11 @@ Cesium.CustomDataSource.prototype.entities;
27632768
*/
27642769
Cesium.EntityCollection = function() {}
27652770

2771+
/**
2772+
* @param {string} id
2773+
* @return {Cesium.Entity}
2774+
*/
2775+
Cesium.EntityCollection.prototype.getById = function(id) {}
27662776

27672777
/**
27682778
* @param {Cesium.Entity} entity

0 commit comments

Comments
 (0)