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

    Class CodeArea

    Coordinates of a decoded Open Location Code. Type describing a decoded code area.

    Index

    Constructors

    • The coordinates include the latitude and longitude of the lower left and upper right corners and the center of the bounding box for the area the code represents.

      Parameters

      • latitudeLo: number
      • longitudeLo: number
      • latitudeHi: number
      • longitudeHi: number
      • codeLength: number

      Returns CodeArea

    Properties

    codeLength: number

    The number of digits in the code.

    latitudeHi: number

    The latitude of the NE corner in degrees.

    latitudeLo: number

    The latitude of the SW corner.

    longitudeHi: number

    The longitude of the NE corner in degrees.

    longitudeLo: number

    The longitude of the SW corner in degrees.

    Accessors

    • get latitudeCenter(): number

      The latitude of the center in degrees.

      Returns number

    • get longitudeCenter(): number

      The longitude of the center in degrees.

      Returns number