open-vector-tile - v1.8.0
    Preparing search index...

    Function decodeOffset

    • Decode offset from a signed integer into a float or double

      Parameters

      • offset: number

        the signed integer to be decompressed

      Returns number

      • a float or double that restores 3 decimal places