This library provides you with the tools to embed Tomtom Maps in your webpage in a quick and effortless way.
We provide two different ways to import the library into your application:
- 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
ttglobal object will be created and attached to the
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
In case you use ES6 imports all you need is:
import tt from 'maps.min.js'
If you want to use TomTom services instead, go to Services SDK documentation.