Skip to content

Commit afab16d

Browse files
authoredMay 18, 2023
fixed datasource display visualizer callback typedef (#11294)
1 parent f573f11 commit afab16d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎packages/engine/Source/DataSources/DataSourceDisplay.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -499,12 +499,13 @@ DataSourceDisplay.prototype._onDataSourceMoved = function (
499499
* @callback DataSourceDisplay.VisualizersCallback
500500
*
501501
* @param {Scene} scene The scene to create visualizers for.
502+
* @param {EntityCluster} entityCluster The entity cluster to create visualizers for.
502503
* @param {DataSource} dataSource The data source to create visualizers for.
503504
* @returns {Visualizer[]} An array of visualizers used for visualization.
504505
*
505506
* @example
506-
* function createVisualizers(scene, dataSource) {
507-
* return [new Cesium.BillboardVisualizer(scene, dataSource.entities)];
507+
* function createVisualizers(scene, entityCluster, dataSource) {
508+
* return [new Cesium.BillboardVisualizer(entityCluster, dataSource.entities)];
508509
* }
509510
*/
510511
export default DataSourceDisplay;

0 commit comments

Comments
 (0)
Please sign in to comment.