cesium-spatial
    Preparing search index...

    Class H3CellLayer

    A batched layer of H3 cells, addressed by cell index rather than geometry.

    This is the layer to reach for by default: thousands of cells render as a single primitive, and recoloring does not rebuild it.

    Index
    • get cells(): readonly string[]

      The cells currently drawn, in the order they were last set.

      Returns readonly string[]

    • Maps a Cesium pick result back to a cell, or undefined.

      Parameters

      • picked: unknown

      Returns string | undefined

    • Re-runs the style function over every cell.

      Returns void

    • Replaces the layer's contents with these cells.

      Parameters

      • cells: readonly string[]

      Returns void

    • Recolors or hides one cell without rebuilding the layer.

      Parameters

      Returns void