nrenner / brouter-web

Web client for BRouter, a routing engine based on OpenStreetMap
https://brouter.de/brouter-web/
MIT License
362 stars 68 forks source link

Add current distance to "Mouse Over on route" #763

Open momentmal opened 1 year ago

momentmal commented 1 year ago

Planning routes over long distance in flat terrain, I often don't bother expanding the elevation profile, as some areas like North Germany don't really require any special attention to the height profile and it takes up space from the map view, especially on wide screen monitors.

On Mouse over, when viewing the planned route, i really miss the information what the current Distance in the planned track is at a specific point (location of mouse cursor) - I only can see height over sealevel and track gradient. Seeing current distance currently only works by zooming out and looking for 5 km marks, or by expanding the elevation profile and then doing mouse over on the track and look at the additional information in the elevation profile info.

I want to suggest to slightly extend the mouse over info box with 1 data field similar to as it works in the elevation profile, preferably with the total track distance included (see Mockup 2):

2023 08 05 FeatureRequest01 BikerouterWeb MouseOverRoute 01 Kopie

rkflx commented 1 year ago

Instead of adding even more numbers to the mouseover (making it harder to parse for the user, obscuring more of the map, partly duplicating information from the statusbar, and requiring an extra step to obtain the information) we should rather fix the always-on distance markers to work better at different zoom levels, IMO.

This would also work on mobile, where there is no popup ATM.