Skip to content

Commit 92befae

Browse files
author
oterral
committed
Add some externs
1 parent 434e5e1 commit 92befae

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|number} 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)