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

    Function idToLonLat

    • Convert an S2CellID to an lon-lat coordinate

      Type Parameters

      • M extends Properties = Properties

      Parameters

      • id: bigint

        the S2CellID

      • Optionalm: M

        M-Value

      Returns LonLat<M>

      lon-lat coordinates