No markers on map

Ernest S5 years ago

Hi all!

I am newbie with traccar and probably I just don't know what I'm doing wrong but, after 2 days of documentation reading, forum searching and code analyzing I can't figure out why:

I don't see any Markers on map

All functionality is working as should, packets from tracking devices are receiving and parsed correctly. Database have valid points, I can see Route line through Reports. Live map is auto-follow device location, but just map, nothing more. I see gray circle (I assume it accuracy) on point from Traccar Client, but it is empty. So, no markers at all, not on live map, not on route report, nowhere.
All Devices have selected Extra->Category icons.

I have tried to run Traccar Server on CentOS 7, 8, Ubuntu 18.04 VPS's and locally on Windows 10 Pro PC. All show same results.
This behavior persist in all my browsers (Chrome, FireFox, Edge, Safari) even I connecting on localhost. Same things in Traccar Manager IOS App too.

I assume that I just missed some configuration parameter or attribute...

NOTE: in Chrome developer tools, in Console I see few 404 errors:

Failed to load resource: the server responded with a status of 404 (Not Found)
ext-all.js:22 GET http://localhost:8082/api/session?_dc=1592493844939 404 (Not Found)
fake-login.html:1 POST http://localhost:8082/fake-login.html 404 (Not Found)

And more, if I look through Network requests, two of them are in "red" (mentioned before), but ALL .svg files (except logo.svg) don't contain any image data, but are accessible for ex http://localhost:8082/images/trolleybus.svg correctly.

Traccar version 4.8 installed from binary (but I can build it from source too, of course).
Protocols used: ruptela, teltonika, osmand (from Traccar Cliend on mobile).

Thanks

Anton Tananaev5 years ago

ALL .svg files (except logo.svg) don't contain any image data

This is probably the key here. I just checked network requests in my browser and I see correct SVG data in the responses.

Try different browser and see if it helps. Maybe there is some filtering somewhere.

Ernest S5 years ago

Anton, thank you for quick answer!

As I stated before I have 3 PCs, every have at least few browsers installed and I have tried them all before commiting post to forum, but without any success.

Problem is that even in Traccar Manager iOS App I don't see markers too, so probably this is not browser related things...

Thank you

Anton Tananaev5 years ago

Have you tried different server? For example one of the demo servers.

Also, have you tried different network?

Ernest S5 years ago

Good suggestion! I will try demo server and back them.

And yes, I was tried two VPSs in different networks and Windows 10 PC is at my home.

Ernest S5 years ago

Anton, Demo Server 3 shows marker correctly.

But I still don't understand what I'm doing wrong, even if I install Server on my home Win10 PC and have accessed web interface via localhost (without any firewalls and etc) - my problem persist.

Maybe you have any other suggestions or may I provide more detailed information?

Anton Tananaev5 years ago

Do you have server URL and login I can try?

Ernest S5 years ago

Of course I can, but one more moment:
now I have added new user through Register button on Login form (preparing connection for you) and as usually decide to try login correctness and magic! now for this user it shows markers! Why? :/

User creation via those two places are different?

Ernest S5 years ago

Anton, I finally found a reason of that behavior: one of my device was not have GPS Fix and send packets with Latitude and Longitude equals 0xFFFFFFFF, what parsed as signed int and became -214.7483648 degrees and, probably, should be marked as not valid position, but it is not in protocol parser.
After excluding this "errorneous" device from user and refresh browser/app - all working ok.

Thank you for your time and help!

Yokotaia year ago

Hi Anton,
I have the same problem with OSM. Please help me.
Here my image
https://i.ibb.co/FsCZ77s/erro-maker.png
No markers
https://ibb.co/Vqd75KM

Yokotaia year ago
Anton Tananaeva year ago
  1. This discussion was about the legacy app. The modern web app didn't even exist 3 years ago.
  2. I see that you're not using the official app. You have you be very upfront about it when you ask questions.
Yokotaia year ago

Sorry about that, I only translate to Vietnamese and setup on my server