About Geofences -> LinesString tool in morden web

Caocaoa year ago

Hi
Can i show total distance of the Line instead of name of It ?
I wanna measure the distance of many points( that i can clink on map )

Addtional, Sorry if I'm doing any thing wrong when i post another web here
https://gokertanrisever.github.io/leaflet-ruler/
can I get anything like this in my traccar web. If can pls guild me how to deal with it

Thanks
Pls let me know if i cant post another web here, i will delete it right away

Anton Tananaeva year ago

We don't have anything like that, but would be nice to add. We don't use leaflet though. We use maplibre.

Caocaoa year ago

Is this maplibre kind ò plugin or anything else, can I have more info pls. Thanks for reply .

Anton Tananaeva year ago

It's the library we use to render map.

Caocaoa year ago

Thanks Anton, I will try to study about this ! Btw, can this library do the function I mentioned above ?

Caocaoa year ago

https://maplibre.org/maplibre-gl-js/docs/examples/measure/
I just saw this, how can I use this in the traccar ? Which file I need to modify ?
Thanks for help !

Anton Tananaeva year ago

If you can't find the right file in the source code, you probably shouldn't attempt doing it yourself.

Caocaoa year ago

Thanks for your reply Anton, maybe it can't but I will try :))