Flutter Google Maps Tutorial | Location Tracking, Maps, Markers, Polylines, Directions API

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 306

  • @m_hussain_mustafa
    @m_hussain_mustafa  Рік тому +10

    Download the source code here: cutt.ly/Fwvpz8KP

    • @muhammadahsan1627
      @muhammadahsan1627 Рік тому

      sir any udemy free course available? any link plz

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      @muhammadahsan1627 I do not have any free coupons available. Thanks.

    • @muhammadahsan1627
      @muhammadahsan1627 Рік тому

      @@m_hussain_mustafa so please kindly a make detailed video on payment methods of stripe, bank or PayPal.

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      @@muhammadahsan1627 Ok I’ll try to do that. Thanks

    • @muhammadahsan1627
      @muhammadahsan1627 Рік тому

      @@m_hussain_mustafa Yes plz, Thanks Sir

  • @monaasim4522
    @monaasim4522 10 місяців тому +7

    hello form Egypt, this was the best video that I have seen, thank u so much for sharing your knowledge and help us, God Bless you Hussain

  • @brunoabano6355
    @brunoabano6355 6 місяців тому +5

    One of the best tutorials I've watched, thank you!

  • @mohamaddody1338
    @mohamaddody1338 8 місяців тому +4

    very helpful, self explanatory, straight to the point,
    10/10

  • @debu113
    @debu113 Рік тому +6

    I'm working on a Flutter application and I'm trying to implement geofencing functionality. I want to be able to track when a user enters or exits predefined geographic regions and perform certain actions based on their location. However, I'm not sure where to start or what packages or APIs to use.
    Would you please provide a step-by-step guide or example code on how to implement geofencing in Flutter? It would be really helpful if you could explain the concepts involved and recommend the most reliable and up-to-date packages or APIs to use for geofencing.
    If you provide a video tutorial it would be the unique on youtube
    Thank you in advance!

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому +1

      Hi, take a look at this: pub.dev/packages/geofence_service

  • @trishahalder9605
    @trishahalder9605 Рік тому +3

    Better than others, very transparent and intuitive

  • @ARTHURPEREIRAVILELA
    @ARTHURPEREIRAVILELA Рік тому +7

    Hello from Brazil, great video. I have a question, when i load the app on my tablet device via vscode, how do i choose the destination ? It only show my current location .

  • @destroyer6679
    @destroyer6679 5 місяців тому +3

    Best video for google maps integration with flutter app. Thanks

  • @amathing6069
    @amathing6069 Рік тому +10

    Is showing the map free of charge? Google maps offers free mobile dynamic map without cloud based design. Is it the one you show in the video?

    • @oumeiramadiihah5823
      @oumeiramadiihah5823 7 місяців тому

      Yes , free of charge

    • @rajvirahmed68
      @rajvirahmed68 4 місяці тому

      not exactly free u get around 30000 map loads per month for free.

  • @pradhneshdalvi1357
    @pradhneshdalvi1357 Місяць тому +1

    Hello! I' m from India I just loved the way you explained the integration of Google Maps API it will very helpful for me as I' m building my last year project on a similar topic. Thank You !

  • @smv1949
    @smv1949 Рік тому +6

    Thank you very much for your content, keep recording videos about flutter. They are very good!!!

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому +1

      I'm so hyped to hear that. Thank you very much for your support. I appreciate it a lot. I have a lot of cool stuff planned for the channel so keep an eye out. If you have any special requests do let me know.

  • @mohamedhatim4541
    @mohamedhatim4541 17 днів тому

    Great tutorial , keep up the good work!

  • @InterimCyphinx
    @InterimCyphinx 6 місяців тому +1

    Great video!...you are one of the best creators i ve ever seen

  • @RonyHassan47
    @RonyHassan47 Рік тому +4

    Wow. Best video for beginners. Thank you so much. Keep uploading 😍

  • @giovannileon1063
    @giovannileon1063 6 місяців тому +1

    Greetings from Colombia!!! Thank you so much for this video, It really helped me.

  • @moneyman-ne9lw
    @moneyman-ne9lw Рік тому +5

    Thanks for the epic video. Learned so much. Much appreciated. 😀

  • @preneure
    @preneure Рік тому +4

    Great vid brother. Keep up the good work!

  • @bilelben677
    @bilelben677 5 місяців тому +1

    Thanks for quality of video 👏🏼

  • @AyushKarki-pb7xc
    @AyushKarki-pb7xc 4 місяці тому +1

    bro is really a 🗿chad ! thanks man

  • @DEVKushal-t8b
    @DEVKushal-t8b 8 місяців тому +1

    Thank you for the tutorial ! I went to the console google maps docs it was not working but your video made it working

  • @sohanhalwa98
    @sohanhalwa98 11 місяців тому

    Brooo, this is some top notch contenttttt. You deserve to have Thousands of followers. Dont let anything change your mind. Just stick to it and be consistent. Your days are ahead!

    • @m_hussain_mustafa
      @m_hussain_mustafa  11 місяців тому

      Thank you very much for the kind words and your support. Means a lot to me.

  • @kashaf8863
    @kashaf8863 Рік тому +1

    error occur when i run app at 5:47 error is:
    cannot read the properties of undefine (reading "maps")
    how can i solve it?

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому +1

      I believe the variable you are trying to access it not assigned a value properly. I'd recommend downloading the source code and comparing your code with it.

    • @kashaf8863
      @kashaf8863 Рік тому +1

      @@m_hussain_mustafa ok will try again and thanks for reply

    • @kashaf8863
      @kashaf8863 Рік тому +2

      @@m_hussain_mustafa error resolved

  • @MrTKnighton
    @MrTKnighton Рік тому

    What a beautifully straightforward video. Thank you for showing how to configure both android and ios. Nice work :)

  • @Mr_Dilo
    @Mr_Dilo Рік тому +1

    Nice, As billing is necessary for polylines? Because I can display markers on Map but my emulator does not show me to set points and routes?

  • @Unizuka
    @Unizuka 4 місяці тому

    you legend, thank you for this amazing tutorial.

  • @noway2541
    @noway2541 Рік тому +1

    you deserve more subscribers..

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому +1

      That is very kind of you. I appreciate your support. Subscribe more content is on the way. Thank you.

  • @KhushiMishra-nl3vt
    @KhushiMishra-nl3vt 8 місяців тому

    Is this also update user location in background when application is terminated?

  • @FurqanAhcom-wt5oz
    @FurqanAhcom-wt5oz 2 місяці тому

    Hey I know I’m late but would this work for OpenStreetMaps api?

  • @trunghieule8975
    @trunghieule8975 10 місяців тому +1

    hi can you make a video that you can use search text filed to find places and draw 2 locations ( one is my current my location and the other is from search place )

  • @JalalDEddin
    @JalalDEddin Рік тому +3

    Thank you very much, Hussain. However, I have a question for you. After some experimentation and reading, I have concluded that we can't create a polyline from the user's current location. That's because it has been defined so that it can be null at any moment. Can we work around this issue? And once again appreciate the tutorial it helps a lot!

  • @mayash9171
    @mayash9171 6 місяців тому +1

    Hi, is it possible to create all of that using non billing account google cloud?

  • @ummii4804
    @ummii4804 7 місяців тому

    do we need to add the billing info? would it work without the adding the billing or payment method? i want to show places to user base on user location.

    • @m_hussain_mustafa
      @m_hussain_mustafa  7 місяців тому

      Yes for the directions api billing has to be enabled.

  • @raminmgd5987
    @raminmgd5987 8 місяців тому +1

    Hi thanks for great teaching i have issue during build.gradle the error always shown up and say Your project requires a newer version of the Kotlin Gradle plugin.

    • @m_hussain_mustafa
      @m_hussain_mustafa  8 місяців тому +1

      Hi, I believe you need to update your android SDK version.

    • @raminmgd5987
      @raminmgd5987 8 місяців тому

      @@m_hussain_mustafa thanks, it was only different with your code and i solve it thanks again
      can you take a course for flutter map?

  • @EftifaJannat
    @EftifaJannat Рік тому +1

    Keep uploading videos. They are very useful

  • @burmaboy7998
    @burmaboy7998 6 місяців тому +1

    Thank tou very much 🤩

  • @StefenTjung
    @StefenTjung 3 місяці тому

    if i just want to show the map with the marker, what is exactly the function of this marker id?

  • @karlledessinateur4191
    @karlledessinateur4191 8 місяців тому +1

    thanks the video was very helpful

  • @phucgo6180
    @phucgo6180 6 місяців тому

    This is the best thing comes to me for a couple of months. I have one question, do we have to pay for any? Like Google API? Thank you for the tutorial !

  • @sri-nadh
    @sri-nadh Рік тому

    hey, what are the map sdks and apis you activated for getting the google map api-key?

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      Hi, Take a look here pub.dev/packages/google_maps_flutter under the getting started section.

  • @javeria8845
    @javeria8845 2 місяці тому

    How can i adjust camera zoom and relocation so that whole polyline from source to desyination show within cameraview

  • @fedimakni1200
    @fedimakni1200 11 місяців тому +1

    i built the code (apk for android to test it on real device) but i keep getting loading... without showing my location. the app work fine on the emulator. My phone is Samsung note 10 plus fully updated

  • @ZaynOmer-mt4ow
    @ZaynOmer-mt4ow 9 місяців тому

    dude quick and precise love it

  • @danangjehan9733
    @danangjehan9733 Рік тому

    Great Tutorial 👍👍👍👍

  • @devjony
    @devjony 8 місяців тому +1

    Hi, your videos are amazing. How did you configure your google maps API Key? is it suitable for production environments? I'm having trouble configuring a production ready api key to use along with the flutter_polyline_points library

    • @m_hussain_mustafa
      @m_hussain_mustafa  8 місяців тому

      Thanks. You need to enable the directions API for your Google cloud project and also make sure billing is enabled on the project and a valid payment method is attached. That is pretty much all the setup to ensure the API key is production ready.

  • @victorcavalcante6767
    @victorcavalcante6767 Рік тому +2

    Man, what a fantastic job, I just think it would be better if the camera position was only updated when the location actually updates and not simply by moving the camera around.

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      Thank you for your comment. The camera position only updates if the user moves. Otherwise, it does not.

    • @victorcavalcante6767
      @victorcavalcante6767 Рік тому

      Hm... strange, when I was testing the user wasn't moving and I was only moving the map camera and yet the camera updated as if the user had moved

  • @AnuragVerma-vs6dn
    @AnuragVerma-vs6dn 9 місяців тому +1

    Great Video. One question though. Do we need to pay any fee to Google for using their APIs for background location?

    • @m_hussain_mustafa
      @m_hussain_mustafa  9 місяців тому

      Hi,
      I believe the directions api is a paid resource.

  • @rlt_app
    @rlt_app Рік тому +3

    Great content as always, love the new editing style in the videos.

  • @DKProduction-oo4ri
    @DKProduction-oo4ri 9 місяців тому +1

    Great content! Are you using your own real device for the track current location part? Because I was unable to do so with the iPhone simulator

    • @m_hussain_mustafa
      @m_hussain_mustafa  9 місяців тому

      Hi,
      The simulator has settings available on it to simulate location.

    • @DKProduction-oo4ri
      @DKProduction-oo4ri 9 місяців тому

      @@m_hussain_mustafa
      Thanks for your quick turnaround!
      I tried to simulate a custom location. I once clicked on Allow While Using. However, the next time when I run the codes, I experience error in granting location permission:
      flutter: Permission granted: PermissionStatus.denied
      flutter: Permission requested: PermissionStatus.permanentlyDenied
      Since then I am not able to do anything

  • @indigo4evr
    @indigo4evr Рік тому

    Great video and instructions. Thank you very much!

  • @sudhashreeshejwal6421
    @sudhashreeshejwal6421 Місяць тому

    How to handle the tracking scenario like when the User comes back from the App and again open the app the tracked route should also get polylines to it.

  • @GaBoyInKy
    @GaBoyInKy 7 місяців тому +1

    Thank you very much.

  • @anasraees5980
    @anasraees5980 7 місяців тому +1

    Can we show street view in flutter apps?

    • @m_hussain_mustafa
      @m_hussain_mustafa  7 місяців тому +1

      Hi, i don't have experience with this, but maybe take a look at documentation or google.

    • @anasraees5980
      @anasraees5980 7 місяців тому

      @@m_hussain_mustafa ok thanks

  • @ss-qm5hz
    @ss-qm5hz Рік тому +1

    this was perfect, thank you

  • @sa1n1v1pul
    @sa1n1v1pul 5 місяців тому

    Sir where can i get the google maps api key.....your any video regarding this ??

  • @yohohoho17
    @yohohoho17 5 місяців тому +1

    thank you very much !

  • @karlledessinateur4191
    @karlledessinateur4191 8 місяців тому +1

    i have a question though.
    i want to build an app which retrieves lat and long from an API and marks the location on the map but i honestly don't know how to start could you help me?

    • @m_hussain_mustafa
      @m_hussain_mustafa  8 місяців тому

      You can use the geolocator package or the API you mentioned to get the lat long, and then use these coordinates to plot a point on the google maps or any other map provider plugin that you'd like to use for Flutter.

    • @karlledessinateur4191
      @karlledessinateur4191 8 місяців тому

      Okay I will do that thanks a lot

  • @moisesbinzie
    @moisesbinzie Рік тому +1

    I enjoyed this, thank you

  • @alifzakyarafiq8646
    @alifzakyarafiq8646 Рік тому

    Does the direction polylines feature require a paid cloud console account? Thanks

    • @alifzakyarafiq8646
      @alifzakyarafiq8646 Рік тому

      I have tried with free account but i have an error (Exception : Unable to get route: Response ---> REQUEST_DENIED)😢

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      I believe you need to enable the directions api which also requires you to enable billing.

    • @alifzakyarafiq8646
      @alifzakyarafiq8646 Рік тому

      @@m_hussain_mustafa do you mean billing is about payment?

  • @Bright-C-Web-Developer
    @Bright-C-Web-Developer 6 місяців тому

    is it auto-update as your move or drive?

  • @KadeRowes
    @KadeRowes 10 місяців тому +1

    i had a problem i cannot run flutter if i pub get location dependencies

  • @GodwinChimdike
    @GodwinChimdike 7 місяців тому +1

    Thanks for your effort but sir I am using Android studio will it still work out for me sir...Thanks

  • @abuhurairah5046
    @abuhurairah5046 8 місяців тому +1

    routes not displaying on the map why is this method billing adress issue?

    • @m_hussain_mustafa
      @m_hussain_mustafa  8 місяців тому

      You need to enable billing api on your Google cloud project.

    • @abuhurairah5046
      @abuhurairah5046 8 місяців тому

      @@m_hussain_mustafa ok thank you

  • @SatishKumar-wk7we
    @SatishKumar-wk7we Рік тому +5

    I have been learning from your courses on Udemy. Loved your videos as always and the learning curve is very high. Also it would be very helpful if you could make a similar video for Flutter Mapbox Integration.

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому +1

      Thank you. I'll look into Mapbox for you.

    • @SatishKumar-wk7we
      @SatishKumar-wk7we Рік тому

      @@m_hussain_mustafa Thanks a lot for your timely response. Means a lot to me. :)

  • @Becoder15604
    @Becoder15604 6 місяців тому

    I also have another request, If some one say you have to implement one signal in your flutter app and you know nothing about it how you will implement it,how yousearch for resources

  • @samithasagara
    @samithasagara 11 місяців тому +1

    Thanks, I learn lot

  • @reicaio
    @reicaio Рік тому +2

    Hello Hussain thank you for the vid!
    I tried to follow your footsteps on this video but running the flutter app from the flutter terminal and using chrome. I faced the following error tho: "Cannot read properties of undefined(reading 'maps')". Have you ever seen this error?

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому +1

      Hi,
      I belive for running the Flutter on the web there might be some additional steps not mentioned in this video. Your best bet would be to look at the documentation for Google Maps and specifically the section for running maps on the web.

    • @reicaio
      @reicaio Рік тому

      @@m_hussain_mustafa in the video which android emulator are you using? Thank you!

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому +1

      @@reicaio I use a pixel 7 simulator.

  • @scottbebington1330
    @scottbebington1330 Рік тому +1

    when i try this i get: Controller was disposed before GoogleMap was ready. as an error, any idea how to fix this?

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      Is the controller initialized properly? Are you disposing the controller somewhere else besides the onDispose lifecycle function?

  • @Becoder15604
    @Becoder15604 6 місяців тому +1

    AOA sir, you always code like I want sir, we want a complete tutorial of push notification as well having different scenario of a real life

    • @m_hussain_mustafa
      @m_hussain_mustafa  6 місяців тому

      Thanks and yes I'll try to create a tutorial on this topic soon.

  • @areebanazim9837
    @areebanazim9837 8 місяців тому +1

    Hi... I am having an issue... The part where we add permissions and then after error we put the letest version of gradle.. I am putting the letest versio (1.9.24) but i am still getting the same error... Can anyone here help me?!

  • @PayasosMrChipotin
    @PayasosMrChipotin 11 місяців тому

    Puedo indexar a google search console un my maps
    Gracias

  • @rohitr-f1k
    @rohitr-f1k Рік тому +1

    i did the same as you said in video . but sometimes maps loads and sometime it crashes the app . the error is java.lang.IllegalStateException: Platform view hasn't been initialized from the platform view channel.

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      I'd recommend searching your specific issue on the internet. I haven't encountered this error, while developing the application myself.

  • @hashWorld-0
    @hashWorld-0 9 місяців тому

    did u use real google api key or continue with the dummy one ?

  • @Flex1.e
    @Flex1.e Місяць тому +2

    the google map api is not free right ?

    • @m_hussain_mustafa
      @m_hussain_mustafa  Місяць тому +1

      It's free upto a certain limit

    • @Flex1.e
      @Flex1.e Місяць тому +1

      @m_hussain_mustafa i have a problem after the second run of the project of the video (the google map is blank but the google logo and + - is only showing)thank you very much.

  • @muhinrahib756
    @muhinrahib756 Рік тому

    Wow. Thanks for sharing. Its really helpful

  • @Mani-iq6tn
    @Mani-iq6tn 11 днів тому

    Bro I am getting issues with integration of the Google maps in my flutter project

  • @RaVaNdeveloper
    @RaVaNdeveloper 3 місяці тому

    Can you create video on behlf of geofancing and radius meeter on google map

  • @fayisamir5256
    @fayisamir5256 5 місяців тому

    the map not showing when i run on emulater ?
    why

  • @keithbacalso9433
    @keithbacalso9433 3 місяці тому

    so in order tofollow this tutorial I should pay for the API key?

    • @Flex1.e
      @Flex1.e Місяць тому

      no i think its free (google map api)

  • @ayoubamg1
    @ayoubamg1 11 місяців тому +1

    after setting all the necessary parameters of google map I tried to run the app and showed in the the screen this message : flutter application won't run without Google Play services, which are not supported by your device

    • @m_hussain_mustafa
      @m_hussain_mustafa  11 місяців тому +1

      You need to create an emulator which has google play services installed on it. Check for the play store icon on emulators available to you in android studio and try to create one from that. Hope this helps.

    • @ayoubamg1
      @ayoubamg1 11 місяців тому

      @@m_hussain_mustafa it has the play store icon in android studion but still not displaying even I'm setting all the things for google map , in executing the dcreen stays white the map not working ,this problem stops me i searched everywhere but still not finding solution💔

  • @codewithibad2210
    @codewithibad2210 Рік тому

    its really amazing video , very helpful thanks a lot

  • @shhhhh.
    @shhhhh. 6 місяців тому +1

    Thanks

  • @Ashoqullah-j2w
    @Ashoqullah-j2w 5 місяців тому +1

    best tutorial

  • @garvinchanderia
    @garvinchanderia Рік тому

    Hi there! I had a question, I took the source location and destination location in two different cities 10 hours apart. What is happening now is that the polyline is not following the road, and is skipping the small turns in the directions (I feel like it is probalby because of less number of coordinates in the list. If that's the case, how can I increase the number of coordinates generated?).

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      Hi,
      I'd honestly recommend taking a look at the documentation for these packages. That would be the best course of action as I can't recommend something of the top of my head.

  • @devhanhansaja6305
    @devhanhansaja6305 6 місяців тому +3

    hi, great video. thank you for helping the community. i'm facing some issue with the following code part PolylineResult result = await polylinePoints.getRouteBetweenCoordinates(
    GOOGLE_MAPS_API_KEY,
    PointLatLng(_pGooglePlex.latitude, _pGooglePlex.longitude),
    PointLatLng(_pApplePark.latitude, _pApplePark.longitude),
    travelMode: TravelMode.driving,
    );
    showing errors with getRouteBetweenCoordinates,travelmode and GOOGLE_MAPS_API_KEY, words. if you could help me with it, would be great

    • @aquonelocal
      @aquonelocal 6 місяців тому

      @m_hussain_mustafa same issue! Could will be the API KEY Services, if 'yes' that what API Services Must be?

    • @devhanhansaja6305
      @devhanhansaja6305 6 місяців тому

      @@aquonelocal I dont think it's an issue with API. might be because of some changes in classses

  • @yassineaguelmam8674
    @yassineaguelmam8674 Рік тому

    Is it possible to find the shortest road between two points on a map in firebase

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      Yes it should be possible but you’d have to look at the documentation of the plugin.

  • @irfanganatra537
    @irfanganatra537 6 місяців тому

    I like the way you teach...I got gud help by this video...about googlemap in flutter .Hi I need your advise..I am c language teacher and running class for last 10 years now i have entered in flutter for last 1 year and keep doing practise on it..recentrly i have made 4 apps like ecommerce app, tiktok clone, expense manager and weather app for learning purpose..Now i wish to join company as a developer but not getting enough confidence...and my age is 43....should i continue or leave...fear is for doing job..how to deal with it?

  • @adebayowemimo4212
    @adebayowemimo4212 9 місяців тому +1

    Brooooooo, is it everything about flutter you know, anything i search concerning flutter your video comes first, thanks. I just subscribed to your channel. Please be my mentor.

    • @m_hussain_mustafa
      @m_hussain_mustafa  9 місяців тому

      Thanks for the comment. I am trying to create good quality content related to Flutter. Good to know you like it. Awesome

  • @secret.9496
    @secret.9496 4 місяці тому

    Hello please help me, I can't see my Extended controls while using my own device as emulator

  • @technicalbabu8288
    @technicalbabu8288 9 місяців тому +1

    It is paid, can't do it by free??

  • @NarumbeNabilae
    @NarumbeNabilae 11 місяців тому

    Great tutorial. So educative. Thanks a lot. Got a question though. What if I have a list of several points that don't exist in the map and I want to add them as markers for use in my app. I have a database containing names of new points and their coordinates. How do I use the database in code instead of writing the markers over and over?

  • @therealhecker
    @therealhecker Рік тому +1

    hi ive benn watchingyour dart and flutter udemy course ,can i follow this video after that course ...is this video beginner friendly
    if your making future yt videos too please keep in mind that most of your viewers are from your udemy course ,so pls make videos which they can follow ....
    loved your course thanks

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      Yes, absolutely. This tutorial video can be followed easily as long as you know basics of Flutter.

  • @mohdsameer2445
    @mohdsameer2445 4 місяці тому +1

    dude that was crazy , you should work for google or sth tbh

  • @ronyhassanroman
    @ronyhassanroman Рік тому +1

    Very useful video

  • @gentleberry185
    @gentleberry185 Рік тому

    What if i want to add 2 or more stops between origin and destination?

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      That should be possible with a little modification to the code. You can first display the 4 different points on the map, and then generate a path between them the same way you did for 2 points.

  • @rakshithgowda8782
    @rakshithgowda8782 Рік тому +1

    im not able to view the map, no errors, is it require google api keys

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому +1

      Yes you need to add the required Google Maps API Key as specified in the video. You can learn more about how to get the key here: pub.dev/packages/google_maps_flutter

    • @rakshithgowda8782
      @rakshithgowda8782 Рік тому

      @@m_hussain_mustafa but your not added in ur video Google cloud console Google api keys

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому +1

      @@rakshithgowda8782 I showed where the key needs to be added. I cannot show my own key as that needs to be kept private.

  • @Dev3-l5o
    @Dev3-l5o 11 місяців тому +1

    zoom button and Google log are showing but the map not showing help me

    • @m_hussain_mustafa
      @m_hussain_mustafa  11 місяців тому

      Have you checked the debug console for any errors?

  • @ahambasolomon9820
    @ahambasolomon9820 Рік тому +1

    Thank You

  • @stephenessoun164
    @stephenessoun164 Рік тому +1

    hello 👋👋. I am getting request denied exception at point of implementing the polylines. Direction API is enabled by the way. Thanks for helping!

    • @kashaf8863
      @kashaf8863 Рік тому

      can u plz tell me the sol ?
      the error occur at 5:47
      cannot read the properties of undefine(read"maps)

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому +1

      The best course of action might be to download the source code and compare your code with it.

    • @stephenessoun164
      @stephenessoun164 Рік тому

      @@m_hussain_mustafa wasn't able to download. I tried several times when going through the tutorials.

    • @stephenessoun164
      @stephenessoun164 Рік тому

      @@kashaf8863 what is the actual problem you are facing

    • @stephenessoun164
      @stephenessoun164 Рік тому

      @@m_hussain_mustafa is there something extra to be done at the cloud side?

  • @jasonkingsbury8727
    @jasonkingsbury8727 Рік тому

    Love the course, I have 2 issues and they may be related. Did any one have a problem where it just says my location is at google head quarters and not at my actual location, and second, when i open location setting, I can not add addresses like Hussain can. It just does nothing. Any help would be greatly appreciated

    • @m_hussain_mustafa
      @m_hussain_mustafa  Рік тому

      Hi
      For the first issue I would recommend first determining if you can actually access the users location on device, and then if that is working then make sure that the gps settings on device are set so that they simulate a moving car this should hopefully help you fix the first issue. For the second issue I honestly have no idea but I'll recommend to update your Android Studio IDE to the latest version, then create a new simulator (I use a Pixel 7 - API 34) and hopefully this might fix the second issue.

  • @chrisharri7376
    @chrisharri7376 Рік тому +1

    Thank you!!!