projecthorus / sondehub-tracker

🎈 Frontend for SondeHub Radiosonde Tracking
https://v2.sondehub.org
MIT License
61 stars 26 forks source link

Fix prediction length popup #354

Closed argilo closed 1 month ago

argilo commented 1 month ago

As noted in https://github.com/projecthorus/sondehub-tracker/pull/335#issuecomment-2418441992, clicking on a prediction or reverse prediction produces a popup that says "Length: NaN km".

I fixed this by moving path_length onto the individual line objects.

/cc @TheSkorm