Skip to content

Create better layout for mobile/small screens #44

Closed

Description

@Janekdererste

The current approach looks good on large window sizes but takes up too much space on small screens.

  • The logo needs too much space (I think it takes up too much space in every case)
  • Route alternatives are displayed as rows. This takes too much horizontal screen space
  • The search box itself takes up too much space especially when more via points are displayed
  • close or hide elevation widget

Activity

  1. karussell commented on Mar 30, 2021

    @karussell
    Member

    For mobile I looked how others (qwant, google, ...) did this and I think the most important aspect is that the map should be as large as possible :D

    And e.g. when clicking on the input the rest of the panel can disappear (maybe even the map). The tricky thing is the alternative routes and the vehicle options - they consume lots of space. I solved it here using an "expandable row" e.g. clicking on the "alternatives" tab shows all alternatives in one row below and similar for the "vehicles" and "options" tab. The alternatives tab could be even omitted (not sure if that is good UX) when we assume the user knows how to click on the "1 circle" or "2 circle" directly on the map (qwant does this). Additionally if the screen is still too small I put a fullscreen icon below or we could use full screen as soon as the map is dragged or something.

    image

  2. karussell commented on Mar 30, 2021

    @karussell
    Member

    Probably we should omit the logo for mobile usage and move "GraphHopper" only into the copyright text of the map.

    One important point in the options tab (could be a grear icon?) has to be our imprint, terms and privacy policy.

    Another important point is to remove the "on click" action that changes the marker. Otherwise this happens a lot when dragging the map (for mobile usage).

  3. easbar commented on Mar 30, 2021

    @easbar
    Member

    Sorry maybe a bit unrelated here, but can we limit the lat/lng decimal digits to a reasonable number?

    image

  4. added this to the 0.3 milestone on Apr 6, 2021
  5. Janekdererste commented on Apr 14, 2021

    @Janekdererste
    CollaboratorAuthor

    Elevatio Plugin should not be displayed on small sceens

  6. karussell commented on Apr 14, 2021

    @karussell
    Member

    Related to #20

  7. Janekdererste commented on Apr 19, 2021

    @Janekdererste
    CollaboratorAuthor

    grafik
    Compare different routing providers on mobile

  8. Janekdererste commented on Apr 19, 2021

    @Janekdererste
    CollaboratorAuthor

    grafik
    Waze

  9. Janekdererste commented on Apr 19, 2021

    @Janekdererste
    CollaboratorAuthor

    21-04-19 14-36-37 0217
    iOS (Apple Maps)

  10. Janekdererste commented on Apr 19, 2021

    @Janekdererste
    CollaboratorAuthor

    21-04-19 14-52-28 0218
    Here maps (iOS)

  11. Janekdererste commented on Apr 19, 2021

    @Janekdererste
    CollaboratorAuthor

    21-04-19 14-55-45 0219
    Bikemap (iOS)

  12. karussell commented on Apr 19, 2021

    @karussell
    Member

    ( Having the entire input panel at the bottom like HERE maps is not a bad idea. E.g. firefox mobile uses the address bar at the bottom too and once you are used to it, the bar at the top seems miles away :D )

  13. easbar commented on Apr 19, 2021

    @easbar
    Member

    Compare different routing providers on mobile

    The logo obviously takes too much space? And maybe it would be sufficient to add a single line (distance+time) for each alternative?

    Btw on my iphone 5s, ios 12.4.9 the layout is broken (the add point button takes too much/all space):

    Same problem in both FF and Safari. Also it became clear that showing the auto complete suggestions below the input boxes does not work, because they are entirely hidden by the on-screen keyboard and this makes you think there are no auto completions at all.

  14. karussell commented on Apr 19, 2021

    @karussell
    Member

    And maybe it would be sufficient to add a single line (distance+time) for each alternative?

    This could be too small on mobile devices. I would prefer a horizontal swipe action to focus on one of the other alternatives (and get more details about them).

  15. easbar commented on Apr 19, 2021

    @easbar
    Member

    Ok sure. Whatever works best. I just thought the vertical space seems more limited than the horizontal space

    image

    Scrolling swiping in horizontal direction sounds good to me too.

  16. jguddas commented on Apr 25, 2021

    @jguddas

    This is a mockup I had lying around of the old maps mobile view.

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions