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
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
0
votes
1 answer

API key not appending to ReverseGeocode request

For some reason my API key doesn’t seem to be added to my reverse Geocode request. The key is correctly in my info.plist , I’ve tried adding every other key to my plist also but this still isn’t working. Here is the request im attempting var…
user10460877
0
votes
1 answer

TomtomMap.getUserLocation() returns always null?

I trying to get the devices location, but the TomtomMap.getUsersLocation() is always returning null. The wired thing is that since i set TomtomMap.setMyLocationEnabled(true) the map marks the user location correctly, but when i try to get it for my…
user11611671
0
votes
1 answer

How to change tomtom map's marker in kotlin

Trying to add a custom icon marker to tomtom maps on android project here the function am using for this : private fun addingStation() { val i = ResourcesCompat.getDrawable(getResources(), R.drawable.ic_dialog_alert, null) val…
Ahmed Wagdi
  • 3,913
  • 10
  • 50
  • 116
0
votes
1 answer

Unresolved refernce ( success, error) while trying to use TOMTOM search api in kotlin app

I'm trying to use TOMTOM search API in my kotlin application Here is my code : private fun testSearch() { val observer = object : DisposableSingleObserver() { val text = "cairo" val search…
Ahmed Wagdi
  • 3,913
  • 10
  • 50
  • 116
0
votes
2 answers

enable to use tomtom search api in kotlin

Been searching for a week now, The official documentation are not clear at all. as mentioned there, the code val searchServiceConnection = SearchServiceManager.createAndBind(context, searchServiceConnectionCallback) should initialize the…
Ahmed Wagdi
  • 3,913
  • 10
  • 50
  • 116
0
votes
1 answer

Finding highway exits along the way

Using TomTom's APIs, is it possible to request the highways exits along a calculated route? Assume a route has been calculated using the Routing API, I would like to be able to get the highway exits (if any) within this route. Not the ones that I…
Navid
  • 384
  • 2
  • 7
0
votes
1 answer

TomTom Map: How to use custom search bar to search locations?

I have created a web page in angular which is using TomTom map API. I want to use my own search bar to search locations in the map instead of using the built-in search bar of tomtom map. How can I do this?
Monsters
  • 63
  • 2
  • 7
0
votes
2 answers

TomTom reverse Geocode not returning street name for some gps coordinates

For some GPS coordinates, no street name is returned. For…
Arya
  • 8,473
  • 27
  • 105
  • 175
0
votes
1 answer

Why does the TomTom API spit out a jumbled map?

My TomTom test code is producing a jumbled up mess of a map: Why?! Here's the code... HTML:
Eric
  • 5,104
  • 10
  • 41
  • 70
0
votes
2 answers

Error on adding a map marker with tomtom sdk

Leaflet library error I get this error every time I try to add a map marker to my map leaflet.js:5 Uncaught TypeError: t.addLayer is not a function at i.addTo (leaflet.js:5). This function is part of the library and I have no clue why it doesn't…
Andrew Dinsmore
  • 37
  • 1
  • 2
  • 8
0
votes
1 answer

Svg icon in marker in TomTom maps

I was working on a project using TomTom maps on WebSdk. I am currently using png image for markers and I was wondering if there is anyway we could use svg icon in the marker instead of an image?
Anshul Walia
  • 109
  • 1
  • 10
0
votes
1 answer

Show total road distance of route on a TomTom Map

I want to retrieve the total road distance of a route between 2 locations using a TomTom map (Leaflet) and show it underneath the map... Does anyone have a working example of that? My code so far is: