Really happy to know that it helps! Let me know more when you are done implementing it. And any comments on the next video ideas would be appreciated 😇
@@ABSatyaprakash hello, I tried running your code on an iOS emulator and it didn't work though it works on an android emulator. Is the flutter navigation package not suitable for iOS?
@@farihachoudhury2580 The flutter navigation package is suitable for iOS, but it won't run on an emulator when the Mac has the M1 silicon chip. It has some issues, that can be traced back to Mapbox itself, whose products are still being optimised on the M1 chip. Since I use a new MacBook, I can't run it on an iOS emulator and also did not add the initial configurations on the Info.plist file. Check out more about this here - github.com/eopeter/flutter_mapbox_navigation/issues/148 and other issues. If you are using an intel chip Mac or a apple device, you can try following the instructions on my GitHub repo, and you should be able to use it.
@@ABSatyaprakash Hi, is there a way to change the destination midway through a turn by turn navigation, and so have the turn by turn updated without the user having to cancel the route?
@@farihachoudhury2580 We can do 2 things here: If you know beforehand what stops you have to go through, you can add all the waypoints and set multipleStop to true. Otherwise you can just rebuild the widget with the new source and destination. This means suppose the cab is at point x when the customer changes his mind, you ca. Treat x as the new start and y as the new destination.
Really happy to know that it helps! Let me know more when you are done implementing it. And any comments on the next video ideas would be appreciated 😇
Thank you for the great video but I am getting an runtime exception below is the error Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Hi thank you so much i really love your videos they are very helpful however my question would be how to add a turn by turn navigation in case you have a carousel of restaurants almost similar to your former video. I will be grateful
Hello sir, It's really helpful video. But when navigate to navigation screen the then ride start auto and not according to driver. If driver stop the navigation started. I want when driver move then should the navigation move if stop then navigation should be stop.
"Sorry for the inconvenience, but I have a question: Can I use Google Maps and the camera to navigate? I want to pinpoint a location on the map, then open the camera and guide someone to that location by telling them to turn left or right using voice commands. Is this feasible?"
Hello, thank you very much for the video!! Would you have any example of navigation using offline maps with MapBox, I'm developing a project and I would like to test this possibility.
Amazing video. Just want an insight by using turn by turn navigation how many api calls and direction api were consumed, provided the trip was completed fully. Any rough numbers would be highly appreciated. @ABSatyaprakash
Great Tutorial. Thanks. Sir, Is it possible to navigate the user to a specific location in a given Premise? Say, that location is on the 40th floor to the right -> left -> left -> 10 steps away, as soon as the user gets out of the elevator. Can we direct users like this?
Thanks for the tutorial. I tried to call showDialogbox method and it doesn't work, same with the showModalBottomSheet. Do you know the reason. Any help would be appreciated
If you look at the Google Maps package the implementations for Flutter are very similar to that of Mapbox. It's SDKs and APIs are similar too. I'll make a video on it soon nevertheless.
I am using following packages location: ^7.0.0 flutter_mapbox_navigation: ^0.2.2 mapbox_gl: ^0.16.0 But getting following error Execution failed for task ':app:checkDebugDuplicateClasses'. A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable Duplicate class com.mapbox.android.core.location.LocationEngine found in modules jetified-common-23.8.0-runtime (com.mapbox.common:common:23.8.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0)
Thanks a lot for the great implementation. I was wondering if there is a way to avoid Tolls or paid highways in the navigation? Even if it can be done by hard coding it will still be great.
Thank you for your kind words, it means a lot! Yes we can avoid obstacles on the map. Have a look at the documentation here - docs.mapbox.com/help/tutorials/route-avoidance-with-turf-mapbox-directions/ Stay tuned for more content! 😇
@@ABSatyaprakash appreciate the reply. How would it look like in the context of the current App you built here? Is it possible to show or write the snippet of code which will enable avoiding tolls in this project?
@@fatehullahnassery5534 For flutter currently the plugin is in a very nascent stage and I don't think it supports adding or avoiding tolls so far. But if you can take a look at the plugin code, and try implementing something similar using the APIs and Dio.
Good explenation :) Also am curious if you have or want to explain about mapbox use and create gpx routes for turn by turn. I think that option is also possible with mapbox.
Why is the navigation moving by itself, Is there a way to move only we move? I implemented mapbox using flutter everything is good but, I want the turn by turn navigation work when I actually move. Please help me!
hi, i have downloaded ur code and try to run the completed code 'mapbox_turn_by_turn' but after i update all the dependencies to latest version, there is an error occur at turn_by_turn.dart file under lib>screens folder. the error is 'The named parameter 'onRouteEvent' isn't defined.' i have no idea how to debug this problem, can anyone tell me why is this error occur and how to debug it?
Hi there, it is me again, may I ask whether or not I can use my custom style map in this code? If possible then could you please tell me how to use it?
_options = MapBoxOptions( initialLatitude: 36.1175275, ..... mapStyleUrlDay: "url_to_day_style", mapStyleUrlNight: "url_to_night_style", ..... ); Specify the urls here. You can get them from Mapbox studio. This should work for custom style maps
Please head over to the discussions here - github.com/Imperial-lord/mapbox-flutter/discussions and open a thread. Add your error stack trace, and I'll be able to help you. As an example have a look at this - github.com/github/feedback/discussions/12109.
Thanks man for great content. What's the name of emulator and is it free? I got a problem with mapbox that it crashes app whenever I navigate out of the mapbox screen.
Hi thanks for the video, can you advise ...when I clone the repo set all the keys as well as the .netrc etc...I can never get the project to run always something about PLATFORM_VERSION greater than 9 and if resolved ..then can not build objective c module etc ...I was successfullin folowing along with the previous video but this one just wont run ...what flutter channel of flutter are you on and what versions of xcode etc should we be running (im on M1 mac with latest xcode ) thanks again for your videos i hope to see more soon...oh and android works fine
Flutter 2.10.4 • channel stable • github.com/flutter/flutter.git Framework • revision c860cba910 (2 weeks ago) • 2022-03-25 00:23:12 -0500 Engine • revision 57d3bac3dd Tools • Dart 2.16.2 • DevTools 2.9.2 This is what I am using along with latest Xcode. Could you get back to me with a stacktrace of your error exactly, so that I can help you better.
Well that's pretty easy. Just go to additional settings in your android emulator (3 dots), and then go to location. Once there, you can specify any location - just search on Google Maps and save the coordinates and then select that as your custom location. Look at this link for a step by step process - stackoverflow.com/a/61573119/11610122
@@kurtjimenez1340 Look at the file where we make a request to the Mapbox Places API with Dio. The country code in there must be 'us' by default change it to Philippines which I guess is 'ph'?
Hi hope you are all doing okay I want to add more cities to the autocomplete option of mapbox how do I do that I tried adding a tile but that does not work any help is greatly appreciated, thank you in advance
Yes. Look at the file where we make a request to the Mapbox Places API with Dio. The country code in there must be 'us' by default. Change it to anything you want to. You should also look at the results in the API playground before you write code, to see that the URL you are using is customised as per the requirement.
Hi I have been following your tutorial, however when I integrate map box, my map rotates even without touching my device, and the map covers up the floating action button and app bar, another issue is when I press the back button to go back to previous app closes and debug console says lost connection to device 😢😢😢
Very good tutorial man, however I follow everything till the navigation and after I press "Start your premier ride now" the navigation crashes. Would you know why?
Hi Satyaprakash, awesome job in this project, I am facing an issue with the cloned repo, when I run the app I got this error message: Unhandled Exception: type 'Null' is not a subtype of type 'FutureOr' This occurs in the distanceRemaining and durationRemaining
@@ABSatyaprakash Yeah I make some changes and now is working well, but I have a question... How can I set the camera zoom when I open the navigation view in the actual position and not in a zoom like in the continent
Hey Satya I have problem regarding turn by turn navigation first my location is automatically progressing on navigation route can I navigate it by my device location just like google maps secondly I got an error: LateError (LateInitializationError: Field '_controller@886183575' has not been initialized.)
For your first question there are 2 options- 1. Install in a device. 2. Change the emulator location using realtime GPS. Look at this link - stackoverflow.com/a/45098850/11610122 In either case, make sure to switch off the simulate route flag, i.e set it to false. For your second question, I suggest you take a look at the Flutter null safety rules. The error is coming because, you have a late variable somewhere that is not being initialised before it has been used in the application
Hello AB I am following your videos for mapbox integration in Flutter but my app is crashing each time after opening the mapbox portion of app will you help me to solve the crashing issue? Thank you
I am using Android Studio with the Dracula (default dark) colour scheme. I have also added a Material Theme to the entire android studio, along with material icons for a better appearance.
Hey thanks for pointing that out! Wonder why no one else told me. I have updated it in the description, but still here you go - github.com/Imperial-lord/mapbox-flutter
Hi, can you recommend to me someone that develop in flutter that talks in spanish or english. I need a developer that's have good knowledge in UI and flutter.
@@ABSatyaprakash i dont want to add traffic on turn by turn navigation page i just want to do is where on review page route we are drawing a polyline it should show traffic line it should be red where is more traffic like that ? can u help i will be very thankful your video is amzing can you update your code according to dart latest version?
hello I had downloaded your startup project and I had given both private key in Gradle.propertis an public key in strings.xml but I am facing following error can you please help me > _TypeError (type 'Null' is not a subtype of type 'String' in Mapbox_handler.dart
Thank you for the video, I was trying to change map style to outdoors since the one that I'm getting by the default is dark and not really convinient, but I was unable to do so. I've tried to change map style inside MapBoxOptions but the error that I'm getting is as follows: D/AndroidRuntime(14682): Shutting down VM E/AndroidRuntime(14682): FATAL EXCEPTION: main E/AndroidRuntime(14682): Process: com.example.evo_app_nav, PID: 14682 E/AndroidRuntime(14682): java.lang.IllegalStateException: Calling addImage when a newer style is loading/has loaded. Can you help me with this please?
Thank you for the tutorial, but the app crashes the moment directions.startNavigation is called. I have set the secret and pubic keys as per the instructions. This is the error I am facing and I don't know how to solve it. I have been searching on the net for days now. Please assist. This is my error : Process: com.example.project_pozi, PID: 10988 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/mapbox/navigation/core/fasterroute/FasterRouteObserver;
Really happy to know that it helps! Let me know more when you are done implementing it. And any comments on the next video ideas would be appreciated 😇
Find the medium article for the same here - absatyaprakash01.medium.com/turn-by-turn-navigation-with-mapbox-16f874567b3c. Thanks ❤️
Hi brother!
can you just tell me how to implement
i tap on map its add a marker the i draw line b/w the all i need is to find distance b/W them
Thank you for the great video! I’m implementing it right now
😀 You're welcome. Let me know once you're done or if you run into any issues.
Brother, such a quality content. You deserve more subs🖤
Thank you so much for this video!!!! It's amazing! :D
Really happy to know that it helps! Let me know more when you are done implementing it. And any comments on the next video ideas would be appreciated 😇
@@ABSatyaprakash hello, I tried running your code on an iOS emulator and it didn't work though it works on an android emulator. Is the flutter navigation package not suitable for iOS?
@@farihachoudhury2580 The flutter navigation package is suitable for iOS, but it won't run on an emulator when the Mac has the M1 silicon chip. It has some issues, that can be traced back to Mapbox itself, whose products are still being optimised on the M1 chip. Since I use a new MacBook, I can't run it on an iOS emulator and also did not add the initial configurations on the Info.plist file.
Check out more about this here - github.com/eopeter/flutter_mapbox_navigation/issues/148 and other issues. If you are using an intel chip Mac or a apple device, you can try following the instructions on my GitHub repo, and you should be able to use it.
@@ABSatyaprakash Hi, is there a way to change the destination midway through a turn by turn navigation, and so have the turn by turn updated without the user having to cancel the route?
@@farihachoudhury2580 We can do 2 things here:
If you know beforehand what stops you have to go through, you can add all the waypoints and set multipleStop to true.
Otherwise you can just rebuild the widget with the new source and destination. This means suppose the cab is at point x when the customer changes his mind, you ca. Treat x as the new start and y as the new destination.
Thank you so much for the video! It’s excellent!
Really happy to know that it helps! Let me know more when you are done implementing it. And any comments on the next video ideas would be appreciated 😇
Thank you! Very helpful video 👍
You're welcome 😀
Thank you for your time. This helped a lot.
Very helpful and informative tutorial.
Thank you ❤️ Do consider subscribing for more 😀
Thank you for the great video but I am getting an runtime exception below is the error
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Hi thank you so much i really love your videos they are very helpful however my question would be how to add a turn by turn navigation in case you have a carousel of restaurants almost similar to your former video. I will be grateful
Please help me AB, i have a problem wih the turn-by-turn screen. it doesn't load and the emulation kicks me out :(
Hello sir,
It's really helpful video. But when navigate to navigation screen the then ride start auto and not according to driver. If driver stop the navigation started. I want when driver move then should the navigation move if stop then navigation should be stop.
can i add button on just map created to show famous places?
"Sorry for the inconvenience, but I have a question: Can I use Google Maps and the camera to navigate? I want to pinpoint a location on the map, then open the camera and guide someone to that location by telling them to turn left or right using voice commands. Is this feasible?"
Hello, thank you very much for the video!!
Would you have any example of navigation using offline maps with MapBox, I'm developing a project and I would like to test this possibility.
Amazing video. Just want an insight by using turn by turn navigation how many api calls and direction api were consumed, provided the trip was completed fully.
Any rough numbers would be highly appreciated. @ABSatyaprakash
Great Tutorial. Thanks.
Sir,
Is it possible to navigate the user to a specific location in a given Premise?
Say, that location is on the 40th floor to the right -> left -> left -> 10 steps away, as soon as the user gets out of the elevator.
Can we direct users like this?
great work man, also make some videos on voip calling agora twilio etc
Thanks a lot. Sure we will have more tutorials upcoming!
Hi Satya, great work, but did you managed to make the embbeded version of navigation running?
Yes, just head over to the plugin's documentation, and you'll find the implementation of embedded navigation!
Thank you!!
You're welcome 😀
@@ABSatyaprakash hi, the navigation crashes when we run it a second time in the app. how can we fix this?
Can we send the real time location and direction using above turn by turn navigation app over bluetooth
Awesome dude
Thanks for the tutorial. I tried to call showDialogbox method and it doesn't work, same with the showModalBottomSheet. Do you know the reason. Any help would be appreciated
Such a great video excellent work could you please do the same tutorial for Google maps please 😊
If you look at the Google Maps package the implementations for Flutter are very similar to that of Mapbox. It's SDKs and APIs are similar too. I'll make a video on it soon nevertheless.
@@ABSatyaprakash thank you, very grateful and I will be looking forward to watching that video.
A W E S O M E !
I am using following packages
location: ^7.0.0
flutter_mapbox_navigation: ^0.2.2
mapbox_gl: ^0.16.0
But getting following error
Execution failed for task ':app:checkDebugDuplicateClasses'.
A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class com.mapbox.android.core.location.LocationEngine found in modules jetified-common-23.8.0-runtime (com.mapbox.common:common:23.8.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0)
Thanks a lot for the great implementation. I was wondering if there is a way to avoid Tolls or paid highways in the navigation? Even if it can be done by hard coding it will still be great.
Thank you for your kind words, it means a lot! Yes we can avoid obstacles on the map. Have a look at the documentation here - docs.mapbox.com/help/tutorials/route-avoidance-with-turf-mapbox-directions/
Stay tuned for more content! 😇
@@ABSatyaprakash appreciate the reply. How would it look like in the context of the current App you built here? Is it possible to show or write the snippet of code which will enable avoiding tolls in this project?
@@fatehullahnassery5534 For flutter currently the plugin is in a very nascent stage and I don't think it supports adding or avoiding tolls so far. But if you can take a look at the plugin code, and try implementing something similar using the APIs and Dio.
Good explenation :)
Also am curious if you have or want to explain about mapbox use and create gpx routes for turn by turn. I think that option is also possible with mapbox.
Thanks. Yes that option is available for Mapbox too.
Why is the navigation moving by itself, Is there a way to move only we move?
I implemented mapbox using flutter everything is good but, I want the turn by turn navigation work when I actually move.
Please help me!
any luck? if yes please help me out, as i want my app to work the same as yours. thank you :)
thanks, nice video
Glad you liked it!
Can you fix my flutter code?
It contains ListView.Builder (in Item Listing Page) and PageView.Builder (in Item Detail Page).
Hello, I would like to know how to change language in turn by turn navigation in flutter? For example, display Indian Language then English.
hi, i have downloaded ur code and try to run the completed code 'mapbox_turn_by_turn' but after i update all the dependencies to latest version, there is an error occur at turn_by_turn.dart file under lib>screens folder. the error is 'The named parameter 'onRouteEvent' isn't defined.' i have no idea how to debug this problem, can anyone tell me why is this error occur and how to debug it?
hello bro
how did you do the line direction ?
I tried downgrading to flutter 2. Now it run on my phone however it is stuck on start screen.
ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: NoSuchMethodError: The method '[]' was called on null. why yaak?
Hi there, it is me again, may I ask whether or not I can use my custom style map in this code? If possible then could you please tell me how to use it?
_options = MapBoxOptions(
initialLatitude: 36.1175275,
.....
mapStyleUrlDay: "url_to_day_style",
mapStyleUrlNight: "url_to_night_style",
.....
);
Specify the urls here. You can get them from Mapbox studio. This should work for custom style maps
How to show search result from multiple country?
Not. Working
even if we change navigation launguage from en to someother build failed
when ever I click on review ride I am not going to the next page what could be the possible problem
Please head over to the discussions here - github.com/Imperial-lord/mapbox-flutter/discussions and open a thread. Add your error stack trace, and I'll be able to help you. As an example have a look at this - github.com/github/feedback/discussions/12109.
how do I zoom in automatically with out pressing button when we start navigation do you have any idea about this thanks in advance
I am unable to launch a starter project even in this and in the previous video
Thanks man for great content. What's the name of emulator and is it free?
I got a problem with mapbox that it crashes app whenever I navigate out of the mapbox screen.
Hi thanks for the video, can you advise ...when I clone the repo set all the keys as well as the .netrc etc...I can never get the project to run always something about PLATFORM_VERSION greater than 9 and if resolved ..then can not build objective c module etc ...I was successfullin folowing along with the previous video but this one just wont run ...what flutter channel of flutter are you on and what versions of xcode etc should we be running (im on M1 mac with latest xcode )
thanks again for your videos i hope to see more soon...oh and android works fine
Flutter 2.10.4 • channel stable • github.com/flutter/flutter.git
Framework • revision c860cba910 (2 weeks ago) • 2022-03-25 00:23:12 -0500
Engine • revision 57d3bac3dd
Tools • Dart 2.16.2 • DevTools 2.9.2
This is what I am using along with latest Xcode. Could you get back to me with a stacktrace of your error exactly, so that I can help you better.
Hello sir! Can I hire you for my school project? It's also a project that's like this.
Hello, I have questions how to change the default location? in my case I'm from the Philippines so I need change.
Well that's pretty easy. Just go to additional settings in your android emulator (3 dots), and then go to location. Once there, you can specify any location - just search on Google Maps and save the coordinates and then select that as your custom location. Look at this link for a step by step process - stackoverflow.com/a/61573119/11610122
I hope you were able to resolve your other issues about the mapbox-gl package?
@@ABSatyaprakash hello I already set up the location but when I search my destination it shows Americas location.
@@kurtjimenez1340 Look at the file where we make a request to the Mapbox Places API with Dio. The country code in there must be 'us' by default change it to Philippines which I guess is 'ph'?
@@ABSatyaprakash thank you!
Hi hope you are all doing okay I want to add more cities to the autocomplete option of mapbox how do I do that I tried adding a tile but that does not work any help is greatly appreciated, thank you in advance
I see you have opened a discussion, sorry for the late reply here. Let's discuss over there on GitHub
@@ABSatyaprakash okay thank you
bro only u can help i don know how to implement this
can we filter places like banks petrol pump using mapbox
can u help bro plz?
@@mianmussadiq3678 modify your api
@@santosh969 can u explain?
you can use poi
can we get realtime speed and distance using this sdk ?
on turn by turn navigation page it is a custom sign that move can i change that
the auto complete option only bring cities from US is there a way to chamge that
Yes. Look at the file where we make a request to the Mapbox Places API with Dio. The country code in there must be 'us' by default. Change it to anything you want to. You should also look at the results in the API playground before you write code, to see that the URL you are using is customised as per the requirement.
@@ABSatyaprakash thank you very much, thank you😀
Can you please make a video on flutter_map package with mapbox? 🙏
Hi I have been following your tutorial, however when I integrate map box, my map rotates even without touching my device, and the map covers up the floating action button and app bar, another issue is when I press the back button to go back to previous app closes and debug console says lost connection to device 😢😢😢
Any soln for this man?
Hello, I am facing app crash issue when clicking exit from navigation. Can you tell me probable reason?
hi, did you find any solution?
Very good tutorial man, however I follow everything till the navigation and after I press "Start your premier ride now" the navigation crashes. Would you know why?
Can you share the error or the stack trace? I'd be happy to help
@@ABSatyaprakash set simulateRoute: false when you use mobile
Is there anyother package that works offline too?
On splash screen it is stuck how to resolve??
Hello I hv similar problem were u able to solve it please
Same problem here , solution please
Have you solved this? I have the same problem
Hi Satyaprakash, awesome job in this project, I am facing an issue with the cloned repo, when I run the app I got this error message:
Unhandled Exception: type 'Null' is not a subtype of type 'FutureOr'
This occurs in the distanceRemaining and durationRemaining
chnage the flutter sdk version just donwgrade it
This seems to be an issue with Flutter 3. The code needs to be updated.
@@ABSatyaprakash Yeah I make some changes and now is working well, but I have a question... How can I set the camera zoom when I open the navigation view in the actual position and not in a zoom like in the continent
@@luissalgado3367 will you help me with the same issue what are the changes you have done to solve this one?
Hey Satya I have problem regarding turn by turn navigation
first my location is automatically progressing on navigation route can I navigate it by my device location just like google maps
secondly I got an error:
LateError (LateInitializationError: Field '_controller@886183575' has not been initialized.)
For your first question there are 2 options-
1. Install in a device.
2. Change the emulator location using realtime GPS. Look at this link - stackoverflow.com/a/45098850/11610122
In either case, make sure to switch off the simulate route flag, i.e set it to false. For your second question, I suggest you take a look at the Flutter null safety rules. The error is coming because, you have a late variable somewhere that is not being initialised before it has been used in the application
BRO WHICH STATE MANAGMANT U USE?
I prefer MobX. In this case however, the application's purpose was different, so I preferred not to overcomplicate things.
Hello AB I am following your videos for mapbox integration in Flutter but my app is crashing each time after opening the mapbox portion of app will you help me to solve the crashing issue? Thank you
You can solve it by putting the myLocationEnabled:false
@@flutter4devs where can I put this line of code?
@@bartstencil540 Inside your mapbox widget
What vscode theme are you using?
I am using Android Studio with the Dracula (default dark) colour scheme. I have also added a Material Theme to the entire android studio, along with material icons for a better appearance.
how can i enable traffic bro
your github repo url is invalid
Hey thanks for pointing that out! Wonder why no one else told me. I have updated it in the description, but still here you go - github.com/Imperial-lord/mapbox-flutter
bro while navigating to the route showing page the app is stopping.
could you please give a explanation about it.
What is the error in your stack trace?
Hi, can you recommend to me someone that develop in flutter that talks in spanish or english. I need a developer that's have good knowledge in UI and flutter.
I got knowledge
@@manuelsilva3754 hola Manuel, tienes un contacto donde pueda escribirte por favor.
Can this work offline ?
Is this working on latest flutter version?
I think you will have to modify the code a little bit for Flutter 3. I did not have the time to try this out yet.
how to draw a traffic route showing traffic heatmap
Make sure to set the mode to
mode: MapBoxNavigationMode.drivingWithTraffic
Note that Mapbox might not be as accurate as Google Maps.
@@ABSatyaprakash i dont want to add traffic on turn by turn navigation page i just want to do is where on review page route we are drawing a polyline it should show traffic line it should be red where is more traffic like that ?
can u help
i will be very thankful
your video is amzing can you update your code according to dart latest version?
@@ABSatyaprakash driving with traffic will work with turn by turn as far as i know as just want to show polyline of traffic ?😊
why app crashes if u change .driving with traffic to another mode
Hello there how are you? Can I contact with you ? We have work together hope we can contacting to discuss about it with mapbox thanks.
You can reach me out on GitHub discussions of this particular repository regarding your issue, and I will be willing to help.
hello I had downloaded your startup project and I had given both private key in Gradle.propertis an public key in strings.xml but I am facing following error can you please help me
> _TypeError (type 'Null' is not a subtype of type 'String' in Mapbox_handler.dart
if u r using dart version 3.0 just downgrade it
Thank you for the video, I was trying to change map style to outdoors since the one that I'm getting by the default is dark and not really convinient, but I was unable to do so. I've tried to change map style inside MapBoxOptions but the error that I'm getting is as follows:
D/AndroidRuntime(14682): Shutting down VM
E/AndroidRuntime(14682): FATAL EXCEPTION: main
E/AndroidRuntime(14682): Process: com.example.evo_app_nav, PID: 14682
E/AndroidRuntime(14682): java.lang.IllegalStateException: Calling addImage when a newer style is loading/has loaded.
Can you help me with this please?
Does this - stackoverflow.com/questions/58217011/mapbox-illegalstateexception-calling-getsourceas-when-a-newer-style-is-loading help you?
Thank you for the tutorial, but the app crashes the moment directions.startNavigation is called. I have set the secret and pubic keys as per the instructions. This is the error I am facing and I don't know how to solve it. I have been searching on the net for days now. Please assist.
This is my error :
Process: com.example.project_pozi, PID: 10988
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/mapbox/navigation/core/fasterroute/FasterRouteObserver;
set simulate route to false and check maybe it will help
will this work on flutter web app?
Thank you!!
Really happy to know that it helps! Let me know more when you are done implementing it. And any comments on the next video ideas would be appreciated 😇