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

    Function idChild

    • Given an S2CellID, get the quad child tile of your choice [0, 4)

      Parameters

      • id: bigint

        the S2CellID

      • pos: 0n | 3n | 1n | 2n

        quad position 0, 1, 2, or 3

      Returns bigint

      the child tile at that position