You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Create an activity with the simple turn-by-turn Navigation UI.
Launch the app and press a button to start navigation activity
Expected behavior
Start turn-by-turn navigation UI
Actual behavior
Crash
I'm trying to implement a turn-by-turn navigation in my app using Mapbox sdk.
Here is the code in my MainActivity class which extends AppCompatActivity ( i am using Kotlin):
Mapbox.getInstance(this,"pk.eVMeKk")
val navigation: MapboxNavigation = MapboxNavigation(this, "pk.eyJ1IjP")
val orign: Position = Position.fromLngLat(-77.03613, 38.90992)
val destination : Position = Position.fromLngLat(-77.0365, 38.8977)
val simulateRoute : Boolean = true
NavigationLauncher.startNavigation(this,orign, destination,"",simulateRoute)
Platform: Android 7.1.2
Mapbox SDK version: 5.2.0-beta.1@aar'
Steps to trigger behavior
Expected behavior
Start turn-by-turn navigation UI
Actual behavior
Crash
I'm trying to implement a turn-by-turn navigation in my app using Mapbox sdk.
Here is the code in my MainActivity class which extends AppCompatActivity ( i am using Kotlin):
Here is my log:
Do you have any idea what can be wrong or what I'm missing?
The text was updated successfully, but these errors were encountered: