Maps SDK for Web
Maps
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. Thett
global object will be created and attached to thewindow
.
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 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.