This is the documentation of version 1.0.0-rc.4. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias MapcodeType

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

    The type of a mapcode, a short location code you can use instead of coordinates.

    • Local: The shortest mapcode, which needs a territory, such as "4J.P2" for the Eiffel Tower in FRA.
    • International: Unambiguous worldwide without a territory, but longer.
    • Alternative: An alternative local encoding that points to slightly different coordinates.