Tomtom basic layer: Vehicle icons missing.

x6883992 years ago

I am using modern interface in traccar 5.2.
When using the tomtom basic layer I can't see the vehicles on the map.
The map itself works so the API key must be working

Am I doing something wrong?

Anton Tananaev2 years ago

Any errors in the browser console?

x6883992 years ago
evented.ts:139 H {status: 400, statusText: '', url: 'https://api.tomtom.com/map/1/glyph/20.0.0-8/Roboto…ar/0-255.pbf?key=******hidden*****', body: Blob, message: 'AJAXError:  (400): https://api.tomtom.com/map/1/gl…ar/0-255.pbf?key=******hidden*****'}body: Blob {size: 264, type: 'text/xml'}message: "AJAXError:  (400): https://api.tomtom.com/map/1/glyph/20.0.0-8/Roboto Regular/0-255.pbf?key=******hidden*****"status: 400statusText: ""url: "https://api.tomtom.com/map/1/glyph/20.0.0-8/Roboto Regular/0-255.pbf?key=******hidden*****"[[Prototype]]: Error
fire @ evented.ts:139
fire @ evented.ts:133
fire @ evented.ts:133
_tileLoaded @ source_cache.ts:264
(anonymous) @ geojson_source.ts:316
processTask @ actor.ts:171
receive @ actor.ts:136
Anton Tananaev2 years ago

Looks like some error from TomTom API.

x6883992 years ago

To me it looks like that too.
But I guess you don't get the vehicle icons from tomtom?

Anton Tananaev2 years ago

That's probably because the map style was never loaded correctly.

x6883992 years ago

Should I create an issue on github?

Anton Tananaev2 years ago

Sure, feel free to create a bug ticket.

x6883992 years ago

Thanks for fast fix - I will wait for the next compiled version :)

x6883992 years ago

It's working great in 5.3 - thanks a lot.
At first I thought it didn't, until i cleared my browser cache.