gis-tools-ts - v0.6.0
    Preparing search index...

    Function idNeighbors

    • Given an S2CellID, find the neighboring S2CellIDs

      Parameters

      • id: bigint

        the S2CellID

      Returns [bigint, bigint, bigint, bigint]

      [up, right, down, left]