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

    Function idNeighborsIJ

    • Given a Face-I-J and a desired level (zoom), find the neighboring S2CellIDs

      Parameters

      • face: Face

        the Face

      • i: number

        the I coordinate

      • j: number

        the J coordinate

      • level: number

        the zoom level (desired)

      Returns [bigint, bigint, bigint, bigint]

      neighbors: [down, right, up, left]