traccar / traccar-web

Traccar GPS Tracking System
https://www.traccar.org
Apache License 2.0
787 stars 1.09k forks source link

distinct map source for selected device #1157

Closed jcardus closed 11 months ago

jcardus commented 11 months ago

https://github.com/traccar/traccar-web/issues/1156

I tried to use the same source and filter the selected device but it doesn't work. When the source is clustered the feature is never rendered when it's inside a cluster. So I ended up making two sources.

https://github.com/traccar/traccar-web/assets/31902485/5ad3b044-b2cb-477e-a2b1-345eab636202

tananaev commented 11 months ago

Merged, thank you.

tananaev commented 10 months ago

Looks like this change broke click callbacks for selected devices. Fixed here: https://github.com/traccar/traccar-web/commit/f87566f0bdc7837cf6ac33eadecced1160d019bf.

Also for context:

https://www.traccar.org/forums/topic/route-replay-from-device-popup-window/