mapbox / mapbox/mapbox-navigation-android

Finding an UI component that shows street name and sign? WayNameView doesn't seem to be the correct view

Open
#3,569 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature UI
Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

Android API: Not relevant
Mapbox Navigation SDK version:

    implementation 'com.mapbox.navigation:ui:1.0.0-rc.7'
    implementation 'com.mapbox.navigation:core:1.0.0-rc.7'

iOS Screenshot (the yellow square with a 2 in it, at the bottom indicates a german federal street):
Bildschirmfoto 2020-09-15 um 17 04 30

AND Screenshot of WayNameView:

Bildschirmfoto 2020-09-15 um 16 56 46

Only relevant public method: updateWayNameText(String wayNameText).

Steps to trigger behavior
  1. Try to get the same street name + sign view working as on iOS.
  2. Use WayNameView, but that only seems to support showing a text
  3. Documentation doesn't really mention how to customize this or add it to the navigation.
Expected behavior

There should be a view, similar to the iOS one, which receives a RouteProgress or BannerInstructions or whatever and shows the corresponding street name and sign the user is currently driving at.

Actual behavior

Can't find the view :D.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Android UI API around WayNameView and its updateWayNameText(String wayNameText) method, then review the navigation documentation for how UI views are added and customized. Compare the available Android inputs, such as RouteProgress or BannerInstructions, with the requested iOS-style street name and sign display; done means identifying or documenting a working view and integration path.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.