Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Use Leaflet tile call with TomTom custom map style

I'm using a leaflet map with the tile layout from TomTom using this url https://api.tomtom.com/map/1/tile/basic/main/{z}/{x}/{y}.png?tileSize=512&view=Unified&language=NGT&key=? and taken ...
Nicolas Gehlert's user avatar
0 votes
1 answer
50 views

Tomtom API search by street

The documentation is very light and there is not support offered. So what I'm trying to achieve (or figure out if it's achievable), is to search by street name in a given country using Tomtom's search ...
domjanzsoo's user avatar
1 vote
0 answers
40 views

TomTom marker don't show up on map

I want to add marker on my geoposition. That's what i did: mapFragment.getMapAsync { tomtomMap: TomTomMap -> val loc:GeoPoint = tomtommap.currentLocation!!.position val ...
Macros's user avatar
  • 21
0 votes
0 answers
22 views

How many pixels are there in a vector tile from TomTom?

In order to convert the coordinates of the geometries in a vector tile from TomTom, you need to know how many pixels are there in a tile. The documentation states that: The extent is equal to 4096, ...
Kevvv's user avatar
  • 3,993
0 votes
0 answers
77 views

My TomTom map does not fill the container

I have an ionic capacitor app where I added a TomTom map using the TomTom api @tomtom-international/web-sdk-maps. Everything works fine (styles, controls, custom layers, ...). My only problem is ...
Enric Terradellas's user avatar
0 votes
0 answers
20 views

How to get the direction of the realtime traffic data from TomTom?

I've constructed the Protobuf schema using the template from the documentation and successfully extract data. The list of the values representing the available tags are as follows: road_type ...
Kevvv's user avatar
  • 3,993
0 votes
1 answer
106 views

TomTom map styles

I have an ionic capacitor app with a map where routes can be displayed. Everything works fine. I get the map using the @tomtom-international/web-sdk-maps library: import tt from '@tomtom-international/...
Enric Terradellas's user avatar
0 votes
0 answers
41 views

getMapAsync doesn`t work. Why can`t access to class 'com.tomtom.sdk.common.Cancellable'? TomTom

I'm trying to add map with TomTom API in my android app but I can't. I watched videos, guides and couldn`t find solution. I set up the project correctly according to the instructions. In MapActivity I ...
Валерия's user avatar
0 votes
1 answer
60 views

Is there a way to get the exact location for the provided latitude, longitude in tomtom reverse geocoding api

I find difference in the requested latitude, longitude and the reverse geocoding response position(latitude, longitude). Although the location is almost accurate, I just wanted to check if we can get ...
Shiva Pragathi Balabhadruni's user avatar
0 votes
0 answers
29 views

TomTom Maps SDK integration issue: '/contact' page works fine but fails on reload

TomTom Maps SDK Integration Issue Problem Description In our Nuxt.js application, we've integrated the TomTom Maps SDK to display a map on the '/contact' page. While the integration works fine ...
Lahcen Aouina's user avatar
0 votes
0 answers
19 views

How to calculate routes for temporarily closed roads due to snow or other temporary incidents

I'm attempting to calculate a route for a temporarily closed road due to snow. I understand that the road will reopen in the summer, but I want to pre-calculate. I haven't found an option in the ...
Andreas Gruber's user avatar
0 votes
1 answer
73 views

i want to know accuracy of the geocoding results

I am using the TomTom Reverse Geocoding API to obtain an address based on a given latitude and longitude. However, I've noticed that the returned address may not always be an accurate match. Is there ...
Omkar Nikam's user avatar
0 votes
0 answers
79 views

TomTom traffic api integration in ESRI js api

I'm facing issues displaying results from the TomTom API in my ArcGIS JavaScript application. Despite configuring a Vector Tile Layer with TomTom traffic data, the results are not showing up on the ...
ahmed mahfoz's user avatar
0 votes
0 answers
83 views

TomTomMap is not displaying map (Blank)

With reference to the TomTom Map Official Documentation Build Gradle: implementation 'com.tomtom.sdk.maps:map-display:0.33.1' Main Activity Looks like as follows: private lateinit var tomTomMap: ...
Sandeep Karanam's user avatar
-2 votes
2 answers
99 views

How to initialize a MapView() with TomTom SDK in Xcode?

I have installed and imported TomTomSDKMapDisplay into my Xcode project and am trying to display a map on a view. Following the TomTom Developer instructions, I am trying to assign my api key. Here is ...
Samuel Acker's user avatar
0 votes
0 answers
81 views

Huge problem with SearchBox from TomTom (NextJS and Raect)

I've been working on this for 3 days. I tried to use the NPM package from TomTom at the start of NextJS and now trying React. I added a code as the documentation says: const ttSearchBox = new ...
Marek Marszałek's user avatar
0 votes
1 answer
63 views

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 ...
artsch's user avatar
  • 237
0 votes
1 answer
245 views

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 = '{...
Bashar Moalla's user avatar
0 votes
2 answers
1k views

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 ...
Deepthi Sareddy's user avatar
0 votes
1 answer
250 views

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 ...
Jacob Nordstroem Hansen's user avatar
0 votes
3 answers
1k views

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) ...
shi ft's user avatar
  • 19
-1 votes
1 answer
357 views

How to convert address(input) to coordinates using Tom Tom in Laravel 9 and save them in db?

We are struggling to try to convert an address to coordinates using TomTom (their documentation sucks fr) in Laravel 9. At this point, we need a proper guide; we don't know how to begin. Model use ...
aBarl's user avatar
  • 13
2 votes
0 answers
127 views

TomTom POIs search API is returning random total results (between 90 to 100) for same input

I am trying to use TomTom POIs search API and I am getting a total amount of results that doesn't match the reality... also it looks like for the same input a random total between 90 to 100 is ...
Nicolás Slimmens's user avatar
0 votes
1 answer
307 views

Is there any way i can get the bounds(north-east and south-west) of the map view on bounds/center/view area change?

I'm using TomTom Map SDK in NextJs to create functionality such that when map is loaded based on the map bounds, i query all the nearby restaurants in that area. And on map zoom or drag event i want ...
Deep Shetye's user avatar
0 votes
0 answers
75 views

Webfleet .connect API not available for Webfleet LITE subscriptions?

is that true? Webfleet .connect API is not available for Webfleet Lite subscriptions? BR, Rene
René Heuven's user avatar
2 votes
1 answer
288 views

TomTom OpenLR Binary Version 3, Differences and mistakes of the OpenLR Whitepaper and the TomTom Demo Tool

I am currently trying to decode OpenLR binary Strings (version 3) as specified in the OpenLR Whitepaper (version 1.5, rev 2) which can be found at the OpenLR Association website. Unfortunately, while ...
Anouar's user avatar
  • 41
1 vote
1 answer
472 views

Using polyline in Tomtom Map API

I have a problem in my code where I can't create the route for the final markup. Today my code only marks the final address through the Tomtom API, but I am not able to make the trajectory between the ...
Alison Cardoso's user avatar
0 votes
0 answers
59 views

How to solve Uncaught Error: Invalid hook call?

Hi guys I am trying to build a react search box component but it keeps throwing me this error: Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. ...
Tahsan Samin's user avatar
1 vote
1 answer
502 views

Promises and Axios request still returns 429 despite setTimeout

I've been having a problem with the Reverse Geocode API provided by TomTom where I get 429 responses back, because I am mapping over 72 latitude and longitude objects to the API. So I decided tried to ...
Antonio Pavicevac-Ortiz's user avatar
1 vote
1 answer
210 views

How to solve error on using tomtom mapfit?

According to this guide:https://developer.tomtom.com/blog/build-different/adding-tomtom-maps-django-app-building-front-end-map I'm trying to use the tomtom for my django project and everything is ...
mehdi aria's user avatar
0 votes
1 answer
116 views

TomTom Map api black dots on the map

I am using the TomTom map API. But when I'm using the map there are so many black dots and boxes(as seen on the image below). When I zoom in the dots and boxes disappear, but then the new dots and ...
Inzagoor's user avatar
3 votes
1 answer
3k views

Save coordinates to database and then do a range search

I’m using the TomTom API to find the coordinates of some places and store them into a database. What I’m trying to do now is doing a range research on only those locations. Let’s say I input 10km of ...
banjug's user avatar
  • 45
0 votes
1 answer
437 views

How can i add marker tomtom in vuejs?

I want to add a marker in tomtom. I would like to define a map in "data" but when I do this it gives me an error: maps.min.js:1 Uncaught (in promise) TypeError: 'get' on proxy: property '...
Mariusz's user avatar
  • 178
0 votes
1 answer
269 views

TomTom's API Matrix Routing with Pyton returns Response [400]

I'm trying to test TomTom's API Matrix Routing v2 -> Synchronous Matrix (documentation here) with Python's requests. Here is my code, using their example from the documentation: import requests ...
Sandy B's user avatar
  • 35
0 votes
1 answer
837 views

how to use tomtom api with python requests. it returns a text "user inactive"

i am trying to use the requests library with python to fetch data from the traffic api with python. this is the link for website with api that should include the traffic data: https://api.tomtom.com/...
Twfyq Bhyry's user avatar
1 vote
1 answer
902 views

Creating a heatmap with uneven block sizes / stacked bar chart using Python

I want to create a heatmap in Python that is similar to what is shown on the bottom of this screenshot from TomTom Move: https://d2altcye8lkl9f.cloudfront.net/2021/03/image-1.png (source: https://...
dyrjohn's user avatar
  • 11
0 votes
0 answers
219 views

TomTom API - Input has value but remains untouched

I'm using the TomTom FuzzySearch/Autocomplete API, to allow users to search for an address on a form and then the address input fields will prepopulate (with the address values), when the user selects ...
Reena Verma's user avatar
  • 1,685
1 vote
1 answer
634 views

Start TOMTOM navigation using Javascript and Android Intent

I have a web application that needs to open a destination in the native maps/navigation app on the device. On most Android devices this is google maps, and I can simply open a link that will open ...
Tudor's user avatar
  • 31
2 votes
0 answers
46 views

Getting the value of distance measured and add recommendation

I am currently trying Tomtom routing with summary example(https://developer.tomtom.com/maps-sdk-web-js/functional-examples#examples,code,routing-with-summary.html). I want to get the result/value of ...
Octavio's user avatar
  • 123
0 votes
0 answers
51 views

Href not working when javascript inside div tag included

I included TomTom map to my php page, and included the TomTom code (javascript) into a separate body tag at the very bottom. I'm noticing that when I include the TomTom script within these tags, none ...
spudnutzz's user avatar
0 votes
1 answer
288 views

How to activate autocomplete option of tomtom in my html code?

I have the following simple code for using tomtom which works: <!DOCTYPE html> <html class='use-all-space'> <head> <meta http-equiv='X-UA-Compatible' content='...
user1419243's user avatar
  • 1,685
0 votes
1 answer
222 views

How can I transform geocoding with google in geocoding with Tomtom? (Python?

I have this code that basically give me the lat and long when I give it the direction. It is planted to use the API of google but now I need to use the Tomtom API. I don´t know how to do it. import ...
HAAB's user avatar
  • 53
0 votes
1 answer
3k views

Access to XMLHttpRequest at <url> has been blocked by CORS policy: Request header field authorization is not allowed by Access-Control-Allow-Headers

Im trying to consume TomTom maps api to get the location . My function : getLocationAddress(lat: number, lon: number) { const url = `${baseUrl}search/${versionNumber}/reverseGeocode/${lat},${lon}...
Mohit Harshan's user avatar
1 vote
2 answers
221 views

Marker out of canvas TomTom

You can have a look at this IMG to understand quickly the issue: Example IMG This appens when you drag with mouse on the map. Thanks
JPDev's user avatar
  • 11
3 votes
1 answer
1k views

Is there a decoder for Here Api TPEGOpenLRBase64 Code?

For my master thesis I am writing a reference implementation in Java. It uses HERE Api to obtain traffic incident information. The XML received contains a TPEGOpenLRBase64 code. TomTom provides an ...
erddasem's user avatar
0 votes
1 answer
94 views

TomTom Category search API does not return Phone numbers

The Category search API does not return the phone numbers as specified in the documentation. https://developer.tomtom.com/search-api/search-api-documentation-search/category-search Screenshot of : ...
Adarsh Balu's user avatar
0 votes
1 answer
80 views

Where is the geography search type in Tomtom android SDK

I'm trying to do a search with the tomtom sdk in android. SearchApi searchApi = OnlineSearchApi.create(Activity.this); searchApi.search(new FuzzySearchQueryBuilder(mSearchBar.getText().toString()...
SomeKoder's user avatar
  • 775
-2 votes
1 answer
302 views

how to Create an APK that holds a PDF and Displays it on the home page

I'm an N0ob so easy to follow instructions please :) I am trying to build an app to go onto a TOMTOM display, running Andriod 6.0.1. I have 3 PDF's I want drivers in my fleet to have access to. So the ...
Paul's user avatar
  • 1
0 votes
1 answer
244 views

How to remove route in tomtom maps sdk?

Is there a way to remove the route without clearing the markers? Using function clear() is really bad. tomtomMap.clear(); route = null; origin = null; destination = null;
Brylle's user avatar
  • 46
1 vote
1 answer
389 views

Hide and Show Tomtom Map Markers

Adding and showing markers on Tomtom map without using clear() function using this simple logic. Create a boolean variable and change it according to your needs. Buttons will do, just switch the ...
Brylle's user avatar
  • 46