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

    Function idLevel

    • Given an S2CellID, find the level (zoom) its located in

      Parameters

      • id: bigint

        the S2CellID

      Returns number

      zoom level