organicmaps / organicmaps

🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Please donate to support the development!
https://organicmaps.app
Apache License 2.0
9.9k stars 952 forks source link

Make navigation panel expandable #7058

Open strump opened 10 months ago

strump commented 10 months ago

The problem:

While planing a route with OrganicMaps there's a lot of information and configurable parameters: type of route, intermediate points, elevation profile, etc. But lower panel shows only time, distance, and elevation graph.

Describe the ideal solution Bottom navigation panel should display some basic route info and be axpandable. When user drags the panel it shows all the details and allows more actions: change route type, save, share, select alternative path (if there is one), reverse, reorder intermediate points, etc.

Samples: See how it's implemented in mapy.cz:

1 2 3

Context: Changing routing UI could break users practices but would allow expanding functionality.

Moving route type selector from top to bottom will allow one-hand control.

Ronitrs5 commented 10 months ago

So in short, when the bottom sheet is opened and is at it's minimal size , instead of just the time and distance, configurable parameters that you mentioned should be also visible when user slides the bottom sheet? I think I could add the setOnTouchListener() so whenever user drags the bottom sheet in the upward direction, the data within it dynamically changes showing all the remaining info.