osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.66k stars 1.02k forks source link

Feature request: alternative way to zoom out Elevation Profile widget #20876

Open mikehgentry opened 1 month ago

mikehgentry commented 1 month ago

Describe the idea

You can currently zoom the Elevation profile widget in easily by tapping on it repeatedly. There is no way of zooming it back out again aside from pinch zooming, which is a) two handed, and b) somewhat awkward anyway.

A 'reset zoom' or 'zoom out' function would be very welcome. Maybe double tapping on the scale numbers to the right of the graph, if you'd rather not introduce a dedicated button. It'd be relatively hard to discover, but you can put it in the documentation.

Expected behaviour

Double tap on the scale numbers on the right of the Elevation Profile widget. The graph either zooms out a step, or resets to fully zoomed out.

Alternatives you've considered

Add a 'reset zoom' or 'zoom out' button. Something like triple tapping could also work I suppose. [eta - An option to prevent the graph zooming in automatically would also serve to mostly eliminate the problem]

Context

I frequently use my device in a 'gastank' bag on my bike's top tube, or sometimes in a handlebar mounted phone holder. In both cases you usually end up trying to operate it one handed, using the other hand to steady the bars. In the 'gastank' bag you're working through a clear plastic envelope which makes complex gestures virtually unusable - pinch zooming for example is very erratic, because getting the screen to register two touches at the same time only sometimes works. I usually end up having to unzip the bag and take the phone out. [eta - this wasn't much of a problem previously, but recent changes cause the widget to sometimes zoom in automatically on route calculation].