Maps SDK for Web
Services
The Services library provides the necessary tools to integrate all Tomtom services with your application. We take care of all the aspects required to make the calls to the Tomtom APIs, such as the contruction of the URL, validation, and error handling. It is worth noting that by using our help, you avoid making mistakes and extra calls to the service.
We provide three different bundles of the library:
- services-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
. - services.min.js - use this file if you are using a module bundler. It conforms the
UMD standard.
In case you use ES6 imports all you need is:
import tt from 'services.min.js'
- services-node.min.js - use this file if you want to use our services in Node.js.
If you want to display a map on the webpage, go to
Maps library documentation.