LabelVisualizer

new Cesium.LabelVisualizer(entityCluster, entityCollection)

A Visualizer which maps the LabelGraphics instance in Entity#label to a Label.
Name Type Description
entityCluster EntityCluster The entity cluster to manage the collection of billboards and optionally cluster with other entities.
entityCollection EntityCollection The entityCollection to visualize.

Methods

Removes and destroys all primitives created by this instance.

isDestroyed()Boolean

Returns true if this object was destroyed; otherwise, false.
Returns:
True if this object was destroyed; otherwise, false.

update(time)Boolean

Updates the primitives created by this visualizer to match their Entity counterpart at the given time.
Name Type Description
time JulianDate The time to update to.
Returns:
This function always returns true.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.