@erikmichelson/open-location-code-ts
    Preparing search index...

    Function decode

    • Decodes an Open Location Code into its location coordinates.

      Returns a CodeArea object that includes the coordinates of the bounding box - the lower left, center and upper right.

      Parameters

      • code: string

        The code to decode.

      Returns CodeArea

      An object with the coordinates of the area of the code.

      If the code is not valid.