Hello,
I also want to change icons but no luck, is it actually possible ?
Thanks in advance
Hi, if possible. The issue is that there is a special configuration when creating the SVG of the icons.
I couldnt find any documentation for this .
Have a look at the bottom of your language file in /web/l10n/. I had success by modifying the original SVG's into new ones and matching the names in the language file, like this:
New icon: caravan.svg
Addition to language file: "categoryCaravan": "Caravan",
Of course, you will need to modify every language file to make the name/s available in all languages. If you simply want to modify an original icon, just mod it and ftp, replacing the original with the same name.
Gracias. Lo probaré.
I forgot to mention, if you add new icons you need to add them to window.Images at the bottom of /web/load.js
window.Images = ['arrow', 'default', 'animal', 'caravan'];
Hi MJ,
thanks for the tip, it Works good but only there is problem;
When I click an icon on the map, icon changes to something else, not same icon gets bigger !
How did you solve it ?
Thanks
Well ok I found it, it is about the svg image, i used different editör now it lokks ok.
Thanks
Hello guys!
I been trying to change icons, I tried to follow the steps MJ to add /web/load.js and in the language folder. However, it does not work when I go to Category I can see the new option but is blank without name or logo display and It does not allow me to choose that option. Any ideas what I'm doing wrong?
Cheer guys!
Hi, what editor I should to use?
Thanks.
Inkscape
huismori do you remember what svg format you saved it with in inkscape? thank you.
I have the icon showing on the screen but when you click on it it becomes a car lol
Actually, what you should do is, open any of the default svg file from traccar and edit it via Inkscape.
Please someone has managed to change the SVG icons for custom icons, I was using inkscape and illustrator but I have not managed to change the icons, even though I checked the id of the svg images. But without success. Someone who can support me. Thank you.