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

    Function idToIJ

    • Convert an S2CellID to a Face-I-J coordinate and provide its orientation. If a level is provided, the I-J coordinates will be shifted to that level.

      Parameters

      • id: bigint

        the S2CellID

      • Optionallevel: number

        zoom level

      Returns [face: Face, i: number, j: number, orientation: number]

      face-i-j with orientation