Can I change icon device?

proyntec7 years ago

Hi, can I change icon device?, I change the image .svg car.svg for other car.svg that I edit.

But run traccar and the icon dont found, You can help me?

Anton Tananaev7 years ago

SVG images have to contain special objects ids. You can modify images, but you need to make sure that you keep existing ids.

tedi.sky994 years ago

Sample of bus.svg

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg id="svg4145" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="40" width="40" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 40 40">
 <g id="layer1">
  <path id="background" d="m20.002 3.6816l-1.131 3.3907a12.374 12.374 0 0 1 1.131 -0.0625 12.374 12.374 0 0 1 1.129 0.0566l-1.129-3.3848zm-0.002 3.9434a12.374 12.374 0 0 0 -12.375 12.375 12.374 12.374 0 0 0 12.375 12.375 12.374 12.374 0 0 0 12.375 -12.375 12.374 12.374 0 0 0 -12.375 -12.375z" stroke="#333" stroke-width="1.9" fill="#008000"/>
tedi.sky994 years ago

which ids that we must copy to new vehicle icon svg?