cesium-spatial
    Preparing search index...

    Class S2CellLayer

    A batched layer of S2 cells, addressed by token 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, as tokens, in the order they were last set.

      Returns readonly string[]

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

      Parameters

      • picked: unknown

      Returns string | undefined

    • Re-runs the style function over every cell.

      Returns void