Traccar 5.3 show report->trip, Map not showing

x6883992 years ago

Hi,

I just upgraded to 5.3.
When I go to trips and click on the target icon in one of the trips, I normally get a frame with a map.
This stopped working in 5.3.

My web console shows this:

h @ util.ts:300
react-dom.production.min.js:189 Error: Invalid LngLat object: (NaN, NaN)
    at new Uc (lng_lat.ts:37:19)
    at Uc.convert (lng_lat.ts:140:20)
    at Map.jumpTo (camera.ts:737:32)
    at MapCamera.js:20:11
    at al (react-dom.production.min.js:244:332)
    at xc (react-dom.production.min.js:286:111)
    at react-dom.production.min.js:283:409
    at _c (react-dom.production.min.js:281:398)
    at lc (react-dom.production.min.js:273:439)
    at Hn (react-dom.production.min.js:127:105)
ps @ react-dom.production.min.js:189
r.callback @ react-dom.production.min.js:189
zi @ react-dom.production.min.js:144
Sl @ react-dom.production.min.js:262
bl @ react-dom.production.min.js:260
yl @ react-dom.production.min.js:259
(anonymous) @ react-dom.production.min.js:283
_c @ react-dom.production.min.js:281
lc @ react-dom.production.min.js:273
Hn @ react-dom.production.min.js:127
(anonymous) @ react-dom.production.min.js:267
lng_lat.ts:37 Uncaught Error: Invalid LngLat object: (NaN, NaN)
    at new Uc (lng_lat.ts:37:19)
    at Uc.convert (lng_lat.ts:140:20)
    at Map.jumpTo (camera.ts:737:32)
    at MapCamera.js:20:11
    at al (react-dom.production.min.js:244:332)
    at xc (react-dom.production.min.js:286:111)
    at react-dom.production.min.js:283:409
    at _c (react-dom.production.min.js:281:398)
    at lc (react-dom.production.min.js:273:439)
    at Hn (react-dom.production.min.js:127:105)
Uc @ lng_lat.ts:37
convert @ lng_lat.ts:140
jumpTo @ camera.ts:737
(anonymous) @ MapCamera.js:20
al @ react-dom.production.min.js:244
xc @ react-dom.production.min.js:286
(anonymous) @ react-dom.production.min.js:283
_c @ react-dom.production.min.js:281
lc @ react-dom.production.min.js:273
Hn @ react-dom.production.min.js:127
(anonymous) @ react-dom.production.min.js:267
Anton Tananaev2 years ago

Seems like the coordinates are invalid. Have you checked what values you have there?

x6883992 years ago

It must be good coordinates.
I can do replay, see the map for stops and route.

Anton Tananaev2 years ago
x6883992 years ago

thanks - I will check it

x6883992 years ago

It works - thanks :)
Have a nice day.