TomTom Maps for JavaScript
    Preparing search index...

    Type Alias Language

    Language: typeof languages[number]

    A language code for map display and service responses.

    It sets the language of:

    • Map labels and text on vector tiles.
    • Place names, addresses and other textual content in service responses.

    It covers locales with region-specific variants, such as en-US and en-GB. Special codes such as ngt (Neutral Ground Truth) and ngt-Latn give language-neutral or Latin script alternatives.

    Language lists every language the map labels carry. Where a service lacks one:

    • Names come in their local language, as the places services give them for hi-IN and ja-JP.
    • Text the service writes itself, such as route instructions, POI category names and traffic incident descriptions, comes in the nearest language it has, or in English.