This tag is tracked by TomTom Android SDK Team to answer questions related to their product.
Questions tagged [tomtom-android-sdk]
21 questions
2
votes
0 answers
Apk size increased by 40mb due to map fonts in assets resource folder (using tomtom api for map)
I'm using tomtom api to display current location on map. Problem is apk size increased by 40Mb.
I found that apk size is increased due to map fonts.
1.I tried to use downloadable font like this:
"glyphs":…

Amol Deshmukh
- 21
- 2
1
vote
1 answer
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 points.
I have no idea how to achieve this in…

Alison Cardoso
- 11
- 1
1
vote
1 answer
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 google maps with the directions to the passed…

Tudor
- 31
- 3
1
vote
1 answer
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 values from true to false or false to true to display.

Brylle
- 46
- 6
1
vote
1 answer
Tomtom Maps sdk for android failed to load tile
I'm trying to add TomTom maps to my android application that is built with Kotlin, but it gives me the error Tomtom Maps SDK for android failed to load tile and shows an empty map as shown in the image below :
And here are my files and detailed…

Ahmed Wagdi
- 3,913
- 10
- 50
- 116
1
vote
1 answer
Gradle error - Failed to resolve adding TomTom Maps SDK in Android Studio
I want to calculate distance between 2 points and show the distance and duration in a textview. For that I am using TomTom's Rounting API. When I am trying to add the dependancy to my project, my gradle is throwing the following error -
ERROR:…

Diksha Agarwal
- 23
- 3
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
How to find the co-ordinates of a postal code using the tomtom API
Here's what I'm trying to do:
Given a UK postcode as a start and end point, e.g. SN41AB - WF112AB, find the Lat/lon co-ordinates. This is so that I can map a route between the points, and show it on the map.
I see that there's a…

Andrew Fielden
- 3,751
- 3
- 31
- 47
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
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…

Deepthi Sareddy
- 1
- 2
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
duplicate file protobuf-java-3.21.12
I am implementing the tomtom maps in my android project but when implementing
implementation "com.tomtom.sdk.maps:map-display:0.3.1617"
It tells me that there is a conflict with the file protobuf-java-3.21.12 that are duplicates,I can't find another…

Tavo
- 1
- 1
0
votes
0 answers
Failed to resolve Tom Tom SDK Dependencies
We are going to integrate another sensor into a Tom Tom digital cockpit application.
To compile examples and template apps they are providing an SDK.
While compiling the Tom Tom SDK, from their developer documentation we have to insert a username…

Wisal
- 153
- 2
- 10
0
votes
1 answer
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().trim())
.withPosition(new…

SomeKoder
- 575
- 4
- 14
0
votes
1 answer
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
- 46
- 6