The cell ids currently rendered by this layer.
Number of cells currently rendered.
Removes every cell from the layer.
Releases every Cesium resource held by the layer.
Maps a Cesium pick result back to a cell id, or undefined when the pick
did not land on this layer.
Re-runs the style function over every cell.
Replaces the layer's contents.
When the incoming cells match what is already drawn, this restyles in place instead of rebuilding.
Draws many cells as a single batched Cesium primitive.
The expensive operation is building geometry, so the layer distinguishes two kinds of change. Changing which cells are present rebuilds the primitive; changing only color or visibility writes directly into the existing primitive's per-instance attributes, which is cheap enough to do every frame. Changing a cell's height is a geometry change and forces a rebuild.