Turn by Turn Navigation with Mapbox in Flutter Apps

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 156

  • @ABSatyaprakash
    @ABSatyaprakash  2 года назад +7

    Find the medium article for the same here - absatyaprakash01.medium.com/turn-by-turn-navigation-with-mapbox-16f874567b3c. Thanks ❤️

    • @mianmussadiq3678
      @mianmussadiq3678 2 года назад +1

      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

  • @rufia8706
    @rufia8706 2 года назад +2

    Thank you for the great video! I’m implementing it right now

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      😀 You're welcome. Let me know once you're done or if you run into any issues.

  • @sohanhalwa98
    @sohanhalwa98 Год назад

    Brother, such a quality content. You deserve more subs🖤

  • @farihachoudhury2580
    @farihachoudhury2580 2 года назад +3

    Thank you so much for this video!!!! It's amazing! :D

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +1

      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 😇

    • @farihachoudhury2580
      @farihachoudhury2580 2 года назад +1

      @@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?

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +1

      @@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.

    • @farihachoudhury2580
      @farihachoudhury2580 2 года назад +1

      @@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?

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +2

      @@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.

  • @Anisa_choudhury
    @Anisa_choudhury 2 года назад +1

    Thank you so much for the video! It’s excellent!

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      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 😇

  • @rahinashraf9272
    @rahinashraf9272 2 года назад +1

    Thank you! Very helpful video 👍

  • @osmancancnar9405
    @osmancancnar9405 2 года назад

    Thank you for your time. This helped a lot.

  • @jroamindia1754
    @jroamindia1754 2 года назад +1

    Very helpful and informative tutorial.

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      Thank you ❤️ Do consider subscribing for more 😀

  • @sudhirmanandhar4818
    @sudhirmanandhar4818 2 года назад +1

    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.

  • @islamquiz77
    @islamquiz77 Год назад

    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

  • @IgnacioCabello-qe1im
    @IgnacioCabello-qe1im Год назад +1

    Please help me AB, i have a problem wih the turn-by-turn screen. it doesn't load and the emulation kicks me out :(

  • @arshadullah6480
    @arshadullah6480 6 месяцев назад

    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.

  • @mianmussadiq3678
    @mianmussadiq3678 2 года назад +1

    can i add button on just map created to show famous places?

  • @apieceofcode-gd1mm
    @apieceofcode-gd1mm 7 месяцев назад

    "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?"

  • @augustobatista9694
    @augustobatista9694 Год назад

    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.

  • @rpauipathwithnv3481
    @rpauipathwithnv3481 Год назад +1

    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

  • @ctembe
    @ctembe 2 года назад

    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?

  • @ShakirAli-hk7kf
    @ShakirAli-hk7kf 2 года назад

    great work man, also make some videos on voip calling agora twilio etc

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +1

      Thanks a lot. Sure we will have more tutorials upcoming!

  • @coiwmb7790
    @coiwmb7790 2 года назад +1

    Hi Satya, great work, but did you managed to make the embbeded version of navigation running?

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      Yes, just head over to the plugin's documentation, and you'll find the implementation of embedded navigation!

  • @tayyibahu5279
    @tayyibahu5279 2 года назад +1

    Thank you!!

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      You're welcome 😀

    • @tayyibahu5279
      @tayyibahu5279 2 года назад

      @@ABSatyaprakash hi, the navigation crashes when we run it a second time in the app. how can we fix this?

  • @NitinGangurde-q3i
    @NitinGangurde-q3i Год назад

    Can we send the real time location and direction using above turn by turn navigation app over bluetooth

  • @adilsontchameia4171
    @adilsontchameia4171 2 года назад

    Awesome dude

  • @TheAkshay60
    @TheAkshay60 2 года назад

    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

  • @meseretatsbeha6352
    @meseretatsbeha6352 2 года назад +1

    Such a great video excellent work could you please do the same tutorial for Google maps please 😊

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +1

      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.

    • @meseretatsbeha6352
      @meseretatsbeha6352 2 года назад

      @@ABSatyaprakash thank you, very grateful and I will be looking forward to watching that video.

  • @TrikNgonlen
    @TrikNgonlen 2 года назад +1

    A W E S O M E !

  • @NaqeebAwan-y4m
    @NaqeebAwan-y4m 2 месяца назад +1

    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)

  • @fatehullahnassery5534
    @fatehullahnassery5534 2 года назад +1

    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.

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +1

      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! 😇

    • @fatehullahnassery5534
      @fatehullahnassery5534 2 года назад +1

      @@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?

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      @@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.

  • @RenzoMassaro
    @RenzoMassaro 2 года назад +1

    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.

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      Thanks. Yes that option is available for Mapbox too.

  • @AkhilRocky-ut6ze
    @AkhilRocky-ut6ze 2 года назад +1

    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!

    • @ayeshachhapra4082
      @ayeshachhapra4082 Год назад

      any luck? if yes please help me out, as i want my app to work the same as yours. thank you :)

  • @parixie6104
    @parixie6104 2 года назад

    thanks, nice video

  • @TrikNgonlen
    @TrikNgonlen 2 года назад

    Can you fix my flutter code?
    It contains ListView.Builder (in Item Listing Page) and PageView.Builder (in Item Detail Page).

  • @csi9915
    @csi9915 2 года назад

    Hello, I would like to know how to change language in turn by turn navigation in flutter? For example, display Indian Language then English.

  • @sy-gb1xf
    @sy-gb1xf Год назад

    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?

  • @moussatorch2374
    @moussatorch2374 5 месяцев назад

    hello bro
    how did you do the line direction ?

  • @nalsempai9792
    @nalsempai9792 7 месяцев назад

    I tried downgrading to flutter 2. Now it run on my phone however it is stuck on start screen.

  • @novriamsyah7968
    @novriamsyah7968 Год назад

    ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: NoSuchMethodError: The method '[]' was called on null. why yaak?

  • @baocao1411
    @baocao1411 2 года назад +1

    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?

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      _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

  • @flutter4devs
    @flutter4devs 2 года назад

    How to show search result from multiple country?

  • @manishgautam2424
    @manishgautam2424 Год назад +1

    Not. Working

  • @mianmussadiq3678
    @mianmussadiq3678 2 года назад

    even if we change navigation launguage from en to someother build failed

  • @meseretatsbeha6352
    @meseretatsbeha6352 2 года назад +1

    when ever I click on review ride I am not going to the next page what could be the possible problem

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +1

      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.

  • @santosh969
    @santosh969 2 года назад

    how do I zoom in automatically with out pressing button when we start navigation do you have any idea about this thanks in advance

  • @SamuzSamuz-f8p
    @SamuzSamuz-f8p Год назад

    I am unable to launch a starter project even in this and in the previous video

  • @SugerNoor1996
    @SugerNoor1996 Год назад

    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.

  • @saabirmohamed636
    @saabirmohamed636 2 года назад

    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

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      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.

  • @emariem1409
    @emariem1409 7 месяцев назад

    Hello sir! Can I hire you for my school project? It's also a project that's like this.

  • @kurtjimenez1340
    @kurtjimenez1340 2 года назад +2

    Hello, I have questions how to change the default location? in my case I'm from the Philippines so I need change.

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      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

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      I hope you were able to resolve your other issues about the mapbox-gl package?

    • @kurtjimenez1340
      @kurtjimenez1340 2 года назад +2

      @@ABSatyaprakash hello I already set up the location but when I search my destination it shows Americas location.

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +2

      @@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'?

    • @kurtjimenez1340
      @kurtjimenez1340 2 года назад +1

      @@ABSatyaprakash thank you!

  • @meseretatsbeha6352
    @meseretatsbeha6352 2 года назад +1

    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

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +1

      I see you have opened a discussion, sorry for the late reply here. Let's discuss over there on GitHub

    • @meseretatsbeha6352
      @meseretatsbeha6352 2 года назад +1

      @@ABSatyaprakash okay thank you

  • @mianmussadiq3678
    @mianmussadiq3678 2 года назад +1

    bro only u can help i don know how to implement this
    can we filter places like banks petrol pump using mapbox

  • @akhilgorantala1389
    @akhilgorantala1389 Год назад

    can we get realtime speed and distance using this sdk ?

  • @mianmussadiq3678
    @mianmussadiq3678 2 года назад

    on turn by turn navigation page it is a custom sign that move can i change that

  • @meseretatsbeha6352
    @meseretatsbeha6352 2 года назад +1

    the auto complete option only bring cities from US is there a way to chamge that

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +1

      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.

    • @meseretatsbeha6352
      @meseretatsbeha6352 2 года назад +1

      @@ABSatyaprakash thank you very much, thank you😀

  • @okeyshourovroy2769
    @okeyshourovroy2769 2 года назад

    Can you please make a video on flutter_map package with mapbox? 🙏

  • @codewithsam7449
    @codewithsam7449 2 года назад

    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 😢😢😢

  • @jagaranmicrofinance1319
    @jagaranmicrofinance1319 6 месяцев назад

    Hello, I am facing app crash issue when clicking exit from navigation. Can you tell me probable reason?

  • @721008
    @721008 2 года назад

    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?

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      Can you share the error or the stack trace? I'd be happy to help

    • @santosh969
      @santosh969 2 года назад

      @@ABSatyaprakash set simulateRoute: false when you use mobile

  • @surfersubwayz
    @surfersubwayz 2 года назад

    Is there anyother package that works offline too?

  • @zenZcoder
    @zenZcoder 2 года назад

    On splash screen it is stuck how to resolve??

    • @islamquiz77
      @islamquiz77 Год назад

      Hello I hv similar problem were u able to solve it please

    • @manishgautam2424
      @manishgautam2424 Год назад

      Same problem here , solution please

    • @nalsempai9792
      @nalsempai9792 7 месяцев назад

      Have you solved this? I have the same problem

  • @luissalgado3367
    @luissalgado3367 2 года назад

    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

    • @mianmussadiq3678
      @mianmussadiq3678 2 года назад +1

      chnage the flutter sdk version just donwgrade it

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +1

      This seems to be an issue with Flutter 3. The code needs to be updated.

    • @luissalgado3367
      @luissalgado3367 2 года назад

      @@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

    • @flutter4devs
      @flutter4devs 2 года назад

      @@luissalgado3367 will you help me with the same issue what are the changes you have done to solve this one?

  • @mashoodhussain7655
    @mashoodhussain7655 2 года назад +1

    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.)

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      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

  • @inamhusainmasi4135
    @inamhusainmasi4135 2 года назад +1

    BRO WHICH STATE MANAGMANT U USE?

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      I prefer MobX. In this case however, the application's purpose was different, so I preferred not to overcomplicate things.

  • @flutter4devs
    @flutter4devs 2 года назад

    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

    • @flutter4devs
      @flutter4devs 2 года назад

      You can solve it by putting the myLocationEnabled:false

    • @bartstencil540
      @bartstencil540 2 года назад

      @@flutter4devs where can I put this line of code?

    • @flutter4devs
      @flutter4devs 2 года назад

      @@bartstencil540 Inside your mapbox widget

  • @evansaddo2965
    @evansaddo2965 2 года назад

    What vscode theme are you using?

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      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.

  • @gatesbill447
    @gatesbill447 2 года назад

    how can i enable traffic bro

  • @fitims
    @fitims 2 года назад +1

    your github repo url is invalid

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +1

      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

  • @aswinraj3954
    @aswinraj3954 2 года назад

    bro while navigating to the route showing page the app is stopping.
    could you please give a explanation about it.

  • @infinitosolutions979
    @infinitosolutions979 Год назад

    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.

  • @jaiminmodi5573
    @jaiminmodi5573 2 года назад

    Can this work offline ?

  • @arshieenic
    @arshieenic 2 года назад

    Is this working on latest flutter version?

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      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.

  • @mianmussadiq3678
    @mianmussadiq3678 2 года назад

    how to draw a traffic route showing traffic heatmap

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад +1

      Make sure to set the mode to
      mode: MapBoxNavigationMode.drivingWithTraffic
      Note that Mapbox might not be as accurate as Google Maps.

    • @mianmussadiq3678
      @mianmussadiq3678 2 года назад

      @@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?

    • @mianmussadiq3678
      @mianmussadiq3678 2 года назад

      @@ABSatyaprakash driving with traffic will work with turn by turn as far as i know as just want to show polyline of traffic ?😊

    • @mianmussadiq3678
      @mianmussadiq3678 2 года назад

      why app crashes if u change .driving with traffic to another mode

  • @nanosardar6522
    @nanosardar6522 2 года назад +1

    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.

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      You can reach me out on GitHub discussions of this particular repository regarding your issue, and I will be willing to help.

  • @santosh969
    @santosh969 2 года назад

    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

    • @mianmussadiq3678
      @mianmussadiq3678 2 года назад

      if u r using dart version 3.0 just downgrade it

  • @dzeno7370
    @dzeno7370 2 года назад

    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?

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      Does this - stackoverflow.com/questions/58217011/mapbox-illegalstateexception-calling-getsourceas-when-a-newer-style-is-loading help you?

  • @fanelesibongemalaza7270
    @fanelesibongemalaza7270 2 года назад

    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;

    • @mianmussadiq3678
      @mianmussadiq3678 2 года назад

      set simulate route to false and check maybe it will help

  • @kusxyren
    @kusxyren Год назад

    will this work on flutter web app?

  • @jomirun9895
    @jomirun9895 2 года назад

    Thank you!!

    • @ABSatyaprakash
      @ABSatyaprakash  2 года назад

      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 😇