Change vehicle icon

Jonathan Ortiz2 months ago

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.

huismori24 days ago

Hello,

I also want to change icons but no luck, is it actually possible ?

Thanks in advance

Jonathan Ortiz24 days ago

Hi, if possible. The issue is that there is a special configuration when creating the SVG of the icons.

huismori21 days ago

I couldnt find any documentation for this .

MJ13 days ago

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.

Jonathan Ortiz12 days ago

Gracias. Lo probaré.

MJ12 days ago

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'];

huismori11 days ago

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

huismori11 days ago

Well ok I found it, it is about the svg image, i used different editör now it lokks ok.

Thanks