osrm-frontend icon indicating copy to clipboard operation
osrm-frontend copied to clipboard

Make A...V...B items draggable to re-order

Open tob2 opened this issue 11 years ago • 5 comments

Currently, going to the the enter location box on the left and hovering over the A, B or Via shows turns the mouse pointer to an pointing finger - but clicking doesn't have an effect.

What would be useful – and in line with other map services: make them draggable such that one can re-order them.

Or at least remove the pointing finger symbol when hovering with the mouse as one then expects that a feature is hidden behind it.

tob2 avatar Nov 26 '14 21:11 tob2

Cc @TheMarex

DennisOSRM avatar Nov 26 '14 21:11 DennisOSRM

Removed the pointer for now. Reordering is as useful feature to consider in the future however.

TheMarex avatar Nov 29 '14 14:11 TheMarex

I've been thinking of adding reordering to LRM for a long time, but have never gotten around to actually implement it.

perliedman avatar Dec 03 '14 08:12 perliedman

Maybe you could get some inspiration from Komoot planning. They handle draggable reordering of waypoints (and using GPS location in waypoint box) pretty neatly in my opinion.

Svantulden avatar Dec 10 '14 10:12 Svantulden

Yes, that looks clean and is more or less exactly what I envisioned.

I also like the geolocation control and control for removing the waypoint.

perliedman avatar Dec 10 '14 13:12 perliedman