traccar / traccar-web

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

Timeline view in trip report #1087

Open glmnet opened 1 year ago

glmnet commented 1 year ago

Is your feature request related to a problem? Please describe. The trip view shows nicely the trajectory, start and stop points, but doesn't show how the vehicle moved thru the trajectory.

Describe the solution you'd like I'm inspired by the UI shown in e.g. FlightRadar when you analyze a flight path, you can view speed and altitud of the plane in a 2d chart and drag the slider to know where the plane was at the moment image

Describe alternatives you've considered No

Additional context I could give this feature a try if it will be potentially integrated, I would like some advice on usage of third party components/libraries if there are any available to be able to do this, or if this would need to done from scratch (i.e. drawing the timeline a believe in a bare canvas)

tananaev commented 1 year ago

It seems like you're talking about a replay feature, which is already available.

glmnet commented 1 year ago

Well if I could go from trip view to replay view with a link (which will filter by trip start end time) and we could add a 2d graph of the speed on the position slider that could work

tananaev commented 1 year ago

You're requesting something very specific when it's basically already available. Maybe not on a single page, but still available as separate features. If you want to implement it yourself, we can potentially accept it, but only if there's no significant code duplication.

By the way, I like the idea of linking to replay from the trips report. Maybe that's the way to do it.

glmnet commented 1 year ago

Ahhh now I see the graphic report where I can see speed vs time. Sorry, I'm just getting started here

I'll see if I can put that together in the replay view without making a mess