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
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 installed library with npm, all you need is:
import tt from '@tomtom-international/web-sdk-maps'
The library uses following hosted styles version: 20.3.4-7
For more information on styles, please refer to Map style specification.