how to export the journeys in kml

Karim momo 2 years ago

Hello,
how to export the journeys in kml ? when I export it comes to excel.
I have installl traccar 6.0

Anton Tananaev 2 years ago

Use this API endpoint:

GET /api/positions/kml?deviceId=x&from=x&to=x
Karim momo 2 years ago

please which file should I modify to add? the traccar.xml file?

Anton Tananaev 2 years ago

You don't need to modify any files. It's enabled by default.

Karim momo 2 years ago

in this case how to use it to get kml file?

Anton Tananaev 2 years ago

I already said how.