Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get instruction image from onNewBannerInstructions listener #7839

Open
fawzirifai opened this issue Jul 2, 2024 · 0 comments
Open

Get instruction image from onNewBannerInstructions listener #7839

fawzirifai opened this issue Jul 2, 2024 · 0 comments

Comments

@fawzirifai
Copy link

fawzirifai commented Jul 2, 2024

I am listening to onNewBannerInstructions to show the instruction text and image on our custom view, without using any of Mapbox UIs. When onNewBannerInstructions is called, I check the components of the primary instruction and the image URL is null. How can I get the image for the instruction?

Screenshot 2024-07-02 at 7 52 25 AM

Android API: 34
Mapbox Navigation SDK version: com.mapbox.navigationcore:navigation:3.0.2

Steps to trigger behavior

  1. Start a new trip session
  2. register banner instructions observer

Expected behavior

We should be able to extract and use the instruction image from Mapbox Navigation SDK.

Actual behavior

We are unable to extract and use the instruction image from Mapbox Navigation SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant