TomTom Maps for JavaScript
    Preparing search index...

    Type Alias MapcodeType

    MapcodeType: "Local" | "International" | "Alternative"

    Type of mapcode.

    Mapcodes are short location codes that can be used as an alternative to coordinates.

    • Local: Shortest mapcode, requires territory context (e.g., "4J.P2" for Eiffel Tower in FRA)
    • International: Unambiguous worldwide, no territory needed but longer
    • Alternative: Alternative local encoding pointing to slightly different coordinates