Maps SDK for Web


This library provides you with the tools to embed Tomtom Maps in your webpage in a quick and effortless way.

We provide two different bundles of the library:

  • maps-web.min.js - Use this file if you want to include the library directly on a web page, it can be imported in the <head> of your HTML document. The tt global object will be created and attached to the window.
    Please refer to the Display vector map tutorial for detailed instructions.
  • maps.min.js - Use this file if you are using a module bundler (e.g., Webpack). It conforms to the UMD standard. In case you installed library with npm, all you need is:
    import tt from '@tomtom-international/web-sdk-maps'

The library uses following hosted styles version: 21.1.0-*
For more information on styles, please refer to Map style specification.

CSS stylesheet

maps.css - CSS declarations for Maps library. It can be imported in the <head> of your HTML document. Without the CSS, dependant elements might appear in wrong place.

If you are looking for a convenient JavaScript library to use TomTom services, go to the Services library documentation.