Questions tagged [tomtom]

TomTom's public API's for online maps, traffic, routing and search, as well as the per-operating system SDKs. Usage is free up to a daily limit.

TomTom's API and SDK products

Github | Twitter

Get a head-start on your app success story! As the industry leader in map and traffic services, TomTom’s convenient SDKs and APIs save developers time and money, putting your app on the market faster. From calculating the most efficient route, to displaying and tracking users you can do it all with our highly customizable maps. Whether you’re trying to build the next killer app in mobility, gaming, social media or more, TomTom puts developers on the map for business success!

Request a free API key at the API of your choice below.

API Products

Online Maps
Online Search
Online Route
Online Traffic

SDK Products

Maps SDK Web
Maps SDK iOS
Maps SDK Android

91 questions
1
vote
1 answer

How to correctly POST requests to TOMTOM's trafficstats API?

I'm trying to get the TOMTOM trafficstats api working and not getting the response I expected. I'm using Postman to generate a POST request to https://{{baseURL}}/traffic/trafficstats/routeanalysis/{{versionNumber}}?key={{apiKey}} I've set the…
user2108868
  • 91
  • 1
  • 9
1
vote
2 answers

Get distance between users using tomtom location api android

I am developing an android app in which user can know distance between him and other users. I am using tomtom location api for this. I just want to know how to get the distance between current user and other user while i have latitude and longitude…
Rahmat Ullah
  • 229
  • 2
  • 13
1
vote
1 answer

Tomtom route api routeType parameter not working

I am running the TomTom route api. This is the url. https://api.tomtom.com/routing/1/calculateRoute/7.841327000000001,6.745921000000001:7.840205322,6.746850516?key=mykey>&routeType=fastest The distance shows 176 meters. When i run the same api…
Shubham R
  • 7,382
  • 18
  • 53
  • 119
1
vote
1 answer

Returned location is null in TomTom Android SDK

I'm trying to use TomTom's SDK for my Android app so I was practicing this tutorial https://developer.tomtom.com/maps-sdk-android/android-tutorials-use-cases/search-along-route but whenever I'm trying to invoke tomtomMap.centerOnMyLocation() I get…
Flyentology
  • 121
  • 10
1
vote
0 answers

Random "Surface was already locked" exception when starting native Camera activity

This is question about running app on the TomTom device, not on an arbitrary Android device. I have a random exception on production devices when attempting to start native Camera activity which I can't reproduce on my dev TomTom. This is specific…
Alexander Abakumov
  • 13,617
  • 16
  • 88
  • 129
1
vote
1 answer

Python - extracting data from JSON response (using TomTom api)

I'm trying to retrieve information on route times using the TomTom API. By providing the API url, an API key (that you can get by registering) and a source and destination latitude/longitude I want to return the travel time. I thought that I was…
tmn103
  • 319
  • 1
  • 5
  • 16
1
vote
0 answers

TomTom TrafficFlow API different OpenLR data using Protobuf and Datex2 (XML)

We are planning to change our Java app from using TomTom Traffic Flow - Intermediate Service - DatexII to TomTom Traffic Flow - Intermediate Service - Protobuf, but we are facing a problem with OpenLR data. In datexII, the response comes in a XML.…
Sergio Tx
  • 3,706
  • 1
  • 16
  • 29
1
vote
0 answers

Read TomTom (OpenLR) data in R

I am looking at the way to read TomTom data in R. I know these data are in OpenLR format that, from what I have understood it is a kind of binary format. Does anybody know by chance if there is a way to "decode" these binary data in R without…
karafede
  • 19
  • 3
1
vote
3 answers

c# client application can't consume tomtom connect webservice

I have to write a windows application in c# which application is able to consume said webservice. I am using VS2010 with .Net 4 I added the service reference and the code compiles without any error, but when i run it i get a ProtocolException with…
xend
  • 41
  • 6
0
votes
1 answer

Is it possible to use TomTom WebSdk MapTiles in raster mode?

I am using TomTom webSDK map tiles which by default work in vector mode: https://developer.tomtom.com/maps-sdk-web-js/overview/product-information/introduction Unfortunatelly it works very slow due to high CPU utilization. Is it possible to switch…
artsch
  • 225
  • 2
  • 10
0
votes
1 answer

How can I retrieve historical incident data from Tomtom's API using Python requests?

I am trying to retrieve some historical data regarding incidents from Tomtom's api using requests module in python. I tried this code: #defining the retrieved properties of the incident query =…
0
votes
1 answer

How to overcome the 'dependencyResolutionManagement() method not found' error when building a React Native native Android module with TomTom Maps?

React-native native android module. Facing several errors with this https://developer.tomtom.com/android/maps/documentation/overview/project-set-up . Trying to build a native android module for React native project. Can anyone tell me where to add…
0
votes
1 answer

Reactjs 18 - Third party DOM libraries integration - ReactDOM.render?

I have been working on a map application using TomTomMap and I need to render a custom Marker component on the Map, where I can attach different Reacts events and update React state variables. In the example below this is done using the…
0
votes
2 answers

how to get traffic data using api

Hi I am working on a project that needs traffic data I am trying to use APIs like tomtom or HERE but i can't get it to work All I want is to collect the traffic count (number of cars in each route) and stock it in pandas df I tried this but it…
shi ft
  • 19
  • 1
0
votes
0 answers

Converting TomTom API Tile to Lat/Long using Python

I am using TomTom API to retrieve Traffic Data in PBF format example /traffic/map/{versionNumber}/tile/flow/{style}/{zoom}/{x}/{y}.{format} api call tried…