Allow clearing a route itinerary directly from the map view after sidebar was closed (with right-click menu or pressing Escape?)
Usecase
Oftentimes I want to clear a directions itinerary quickly, but this involves the sidebar being open, and intuitively knowing that you have to clear the start or end point from the rows' contents. It feels a bit unnatural and cumbersome, especially if you already closed the sidebar and then you are wondering "huh, why is it still showing me that blue line?" and you have to reopen the sidebar again to clear the route (and some less technical users might not even think of doing that).
I think it would be nice if, as an alternative method and for convenience, it was also possible to quickly clear the whole itinerary by other means.
Possible approaches
I could imagine this being achieved with two ways (not mutually exclusive):
- Pressing
Escape
when the Directions sidebar is already closed (related to #651, that would basically means pressingEscape
twice if someone does this directly from within the sidebar) - Right-clicking the map view and choosing "Clear itinerary" from a menu item between "Route to Here" and "What's Here?", separated by separators. Basically the menu mockup below:
Route from Here
Add Intermediate Destination
Route to Here
-----------------------------
Clear Current Itinerary
-----------------------------
What's Here?*
Copy Location
Add to OpenStreetMap…
*: I suppose that menu item is going to disappear someday once vector maps are the only map type?