@magiclane/maps-sdk
    Preparing search index...

    Class ISOCodeConversionsAbstract

    ISO codes conversions class. Performs language & country conversions ISO2 to ISO3 / ISO3 to ISO2.

    Index

    Constructors

    Methods

    • Converts a country ISO code (ISO2 <-> ISO3).

      Parameters

      • code: string

        The country ISO code to be converted.

      • type: ISOCodeType

        The result country ISO code type.

      Returns string

      The converted country ISO code.

    • Converts a language ISO code (ISO2 <-> ISO3).

      Parameters

      • code: string

        The language ISO code to be converted.

      • type: ISOCodeType

        The result language ISO code type.

      Returns string

      The converted language ISO code.

    • Get iso code type

      Parameters

      • code: string

        The target ISO code

      Returns ISOCodeType

      The ISO code type