Skip to content

Public transport stop context menu #1251

@dmpr0

Description

@dmpr0

Description

A context menu for a public transport stop should list the available transport options

Configure map

  • Add new item Transport stops
    • Icon – ic_action_transport_stop
  • Show layer with all transport stops on the map

Map icons:

  • Use square background from Favorites
  • Background color – #237BFF
  • Icon – ic_action_transport_bus

Context menu, Figma

  • Add two new groups into stop context menu:
    • Routes
    • Nearby Routes

Routes

  • Show Transport Type Filter.
  • Show a list of routes related to the Public Transport Stop / Platform.
  • Clicking on a Route should open a second menu to the right of this one.

Transport type filter:

Allows filtering of the transport routes list within the Public Transport Context Menu.

  • Set to All by default (resets each time the context menu opens).
  • Separate All from other options with a divider |.
  • Show only Types currently present in the list.
  • Clicking on a Type should filter items in the list to show only routes of that specific type.

Route list item:

  • Show icon relevant for transport type
  • First line:
    • Shield with route ref and route color, height 20 px
    • Route type, for example Bus
  • Second line – route name
    • Max 2 lines

Route menu

Header

Default Minimised
  • Show route name
  • Route shield
  • Second line:
    • Interval
    • Total Quantity of stops
    • Transport type
  • Minimise while scroll
    • Name text size –
    • Shield text size –

Buttons

  • Show buttons to switch between stops
    • Click on button should highlight stop in the list and on the map
  • Previous, icon – ic_action_back
  • Next, icon – ic_arrow_forward

Stops

Default Selected Viewed
  • Default – use for all stops in the list
    • Icon – ic_action_transport_stop_list, use route color for color
  • Viewed – current stop from which the route was opened.
    • Icon – ic_action_transport_stop_viewed
  • Selected – highlight stop selected from the list or on the map
    • Icon – ic_action_transport_stop_selected
  • Show stop name
  • Show total estimated travel time from first stop
  • Show routes passing thru the stop

Previous stops

  • Minimise stop before selected into one item with title Qty stops before
  • Click on the item should show those stops

Route on the map

  • Show stops and route line on the map for selected route

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions