Skip to content

How hide Direction Text and Time Text? #27

Description

@zidniryi

Description: Hello,

I'm using the @pawan-pk/react-native-mapbox-navigation package and I would like to request a feature to hide specific UI elements such as the direction text and the minutes text on the navigation screen.

Use Case: In my project, I need to display the navigation route without showing the direction instructions and estimated time. Currently, there is no option to customize or hide these texts. Having this customization would provide a cleaner UI for users who do not need these details.

Expected Behavior:

An option or prop that allows hiding the direction text (turn-by-turn instructions).
An option or prop that allows hiding the minutes text (ETA or time to next step).
Example: See the screenshot below for the areas I would like to hide:

Screenshot 2024-10-14 at 13 57 54

Thank you for considering this request!

Environment:

Library version: @pawan-pk/react-native-mapbox-navigation@
Platform: [iOS/Android]

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions