spstreets / gtfs_manager

A GUI for viewing and editing GTFS data
MIT License
30 stars 3 forks source link

Hovering highlights wrong stop when zoomed in #43

Closed maxwell8888 closed 2 years ago

maxwell8888 commented 2 years ago

Seems like the problem is the search radius is too large so we are picking up too many stops and only the first stop is highlighted, which might not be the one expected/closest to the mouse.

maxwell8888 commented 2 years ago

The problem was actually that on selecting a stop time, rather than simply selecting the currently hovered stop, we were doing the hover calculation again, but obviously wrong.