Huge replay markers & Push channel on second account

andrey5 days ago
  1. I use Traccar on my own server. When upgrading from version 6.7.3 to 6.8.1, I found the old display of huge markers when playing a repeat of a trip, which makes viewing very difficult. Is it possible to force the display of small markers as it was in 6.7.3? Or is it possible to somehow adjust their displayed size?
  2. Since I could not find instructions on setting up notifications for 2 accounts, I am forced to ask a stupid question. There are two accounts for logging into Traccar with their linked devices, notifications are configured via the Telegram channel according to the instructions on the website, how can I set it up so that different accounts have their own notifications from their devices? Do I need to add a second Telegram2 channel to traccar.xml? and then add a second Telegram channel to the second account?
    way.png

tg.png

jafar habibi4 days ago

same issue here on V6.8.1

Anton Tananaev4 days ago
  1. What did it look like before? Do you have a screenshot?
  2. If they want separate chats for notifications, those users would need to set their own chat ids.
andrey4 days ago
  1. Unfortunately, there are no screenshots from the previous version, but the markers were much smaller, which didn't create such a mess when viewed. Perhaps they changed the size of the map proportionally to the zoom level? Is it possible to change the size of the markers manually?
  2. Could you please advise on how to properly format this? In the traccar.xml file, should I add a second channel for "telegram2" notifications with the their telegram key and ID of their bot?
Anton Tananaev4 days ago
  1. I would need to see the comparison before we can investigate it.
  2. We only support one but. But chat id can be set in the user attributes.
andrey4 days ago

Here's what it looked like on 6.7.3
old.jpg

Anton Tananaev4 days ago

Try using different map. It looks like it's a issue with the font.

andrey4 days ago

However, before the update, the screenshot shows that the marker size was perfect. Alternative maps for comparison:

  1. YandexMaps
    yamaps.png
  2. OpenStreetMaps
    openstreetmaps.png
  3. GoogleHybrid
    googlegibrid.png
  4. And only on LocationIQ map, the markers are ideally displayed
    LocationIQ.png

I would like to reiterate that this problem appeared after the update to 6.8.1. It is logical to assume that the fonts on the presented maps did not change all at once. Thank you in advance for solving this problem

andrey4 days ago

although no, LocationIQ map has the same "mess", but at least it's slightly better than the other maps
LocIQ.png
so it's not about maps and fonts

ibbex2 days ago

https://github.com/traccar/traccar-web/commit/0eef28c65d54ab64fca97317d9127e0016c28079
‎```
src/map/MapRoutePoints.js

layout: {
'text-font': findFonts(map),
'text-size': 8,
'text-field': '▲',
'text-allow-overlap': true,
'text-rotate': ['get', 'rotation'],

set `text-size:8`