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 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. 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 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.
If you are looking for convenient JavaScript library wrapping TomTom services, go to
Services library documentation.