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

    Type Alias CountryCrossingAlignment

    CountryCrossingAlignment: "viewport" | "route"

    How a border crossing's plaque is turned on the map.

    • viewport — level with the screen, however the map is rotated.
    • route — turned to the route's bearing where it crosses, so the plaque runs along the road. It is kept upright, so the label never reads upside down.