How To Use Mapbox To Create A Google Maps Clone Quickly

Поделиться
HTML-код
  • Опубликовано: 23 июл 2024
  • 🚨 IMPORTANT:
    JavaScript Simplified Course: www.javascriptsimplified.com
    Mapbox is an incredibly powerful tool for creating any map based applications, but it can be pretty daunting to get started with. In this video I will show you how to get started with Mapbox as easily as possible. I will also show you how to use the browser's geolocation API as well as Mapbox plugins.
    📚 Materials/References:
    GitHub Code: github.com/WebDevSimplified/G...
    🧠 Concepts Covered:
    - How to setup Mapbox
    - Geolocation API
    - Mapbox plugins
    🌎 Find Me Here:
    My Blog: blog.webdevsimplified.com
    My Courses: courses.webdevsimplified.com
    Patreon: / webdevsimplified
    Twitter: / devsimplified
    Discord: / discord
    GitHub: github.com/WebDevSimplified
    CodePen: codepen.io/WebDevSimplified
    ⏱️ Timestamps:
    00:00 - Introduction
    00:21 - Demo
    01:04 - Setting Up The Map
    04:37 - Get Current Location
    08:54 - Adding Direction Support
    12:10 - Conclusion
    #GoogleMapsClone #WDS #Mapbox

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

  • @abhilekhgautam5963
    @abhilekhgautam5963 3 года назад +109

    Others youtuber - A long 4/5 hour project.
    Kyle - A 12 min google map program.

    • @WebDevSimplified
      @WebDevSimplified  3 года назад +71

      I always try to make my videos as short and to the point as possible.

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

      @@WebDevSimplified Like it 👍🏼

    • @miauw8762
      @miauw8762 3 года назад +3

      @@WebDevSimplified It's perfect, keep it up! Love your tutorials

    • @susmitdas
      @susmitdas 3 года назад +1

      @@WebDevSimplified THANK YOU SOO MUCH!

    • @christian-schubert
      @christian-schubert 3 года назад +1

      @@WebDevSimplified That's why I've pretty much given up on Brad Traversy's channel at this point. Too many faces teaching too many totally unrelated topics in one go for hours on end. Don't get me wrong, most of his guest hosts undoubtedly are experts in their respective fields, know exactly what they're doing and are excellent teachers. Kudos to them and especially to Brad - he ranks high on my list of people I definitely look up to (goes without saying that you're on this list as well ;) ). I really do wish Brad the best of health and hope he'll get better soon. Unfortunately, his channel is a bit all over the place and doesn't seem to know which direction it's headed any more lately.
      Your content's a blessing as it is, please keep it this way.

  • @stevensmith7021
    @stevensmith7021 3 года назад +4

    That was impressive young man. Love your delivery... so calm and smoothing:)

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

    Great work! Really Look forward to such short duration projects!

  • @richardkirigaya8254
    @richardkirigaya8254 3 года назад +1

    Awesome...really simple and straight to the point. Thanx Kyle

  • @__dev14
    @__dev14 3 года назад +1

    Wow, exactly when I started looking into Mapbox! That timing 👌

  • @ashishmadan5700
    @ashishmadan5700 3 года назад +1

    You are just amazing man 😁 i have no words for you !!! Thanks for all the stufff ❤️

  • @soft384
    @soft384 3 года назад +3

    what a coincidence I was just trying to find a video like this thanks man

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

    Thanks So Much Kyle, Your videos are so well explained and inspire me everyday

  • @jonmjauu6435
    @jonmjauu6435 3 года назад

    Gonna be really helpful for other projects I got in mind! 🤓

  • @saddam_codes
    @saddam_codes 3 года назад

    Hey, thanks for the tutorial man. It was really helpful.

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

    This was a great video! Helped me a lot with a personal project

  • @adilnesar291
    @adilnesar291 16 дней назад

    you are doing great work!!

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

    Great tutorial. Thanks Kyle!

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

    thank you, this made a lot of things easier for me.

  • @shreyashsinghsachan5498
    @shreyashsinghsachan5498 3 года назад

    That's really interesting , great work 🔥❤️

  • @guillermomarindavila5779
    @guillermomarindavila5779 3 года назад

    This Is great i need a tutorial for a Google maps website and you upload this video, awesome!

  • @1sanak
    @1sanak 3 года назад +1

    DUDE, I can't WAIT for your javascript course.

  • @sameergaikwad222
    @sameergaikwad222 3 года назад

    Thanks Man. You saved my day. Nice Tutorial. :)

  • @throwawayaccount5464
    @throwawayaccount5464 15 дней назад

    Thanks Kyle you are a saviour

  • @prashoonbhattacharjee8211
    @prashoonbhattacharjee8211 3 года назад

    Hi Kyle,
    This is a very informative video!!

  • @idevbrandon
    @idevbrandon 3 года назад +1

    Thank you! i really needed this tutorial and i will stick to your teaching tutorial concept too i saw your tutorial hell video and the reason why you keep making it short and simple is to let us build up stuff ourselves. i i will try to create something based on your video!

  • @nehavig7584
    @nehavig7584 3 года назад

    You are brilliant Sir. Thanks for the video.😊

  • @rishabincloud
    @rishabincloud 3 года назад +1

    Was waiting for this since the repo was created 😉

  • @code4chaosmobile
    @code4chaosmobile 3 года назад

    Another Great video, thanks again.

  • @theseriouslook
    @theseriouslook 3 года назад

    I wanted to thank you for making these videos
    Thanks bro

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

    Amazing, Loved it.

  • @WallyJ2K
    @WallyJ2K 3 года назад

    Great video! Thanks!

  • @Tarunkumar-om3hu
    @Tarunkumar-om3hu 3 года назад

    I will create it ,
    Thanks for sharing your knowledge

  • @digigoliath
    @digigoliath 3 года назад

    Super Awesome!!! TQVM!

  • @davronjs
    @davronjs 3 года назад

    wow, amazing bro, I loved your videos..

  • @noureldin6562
    @noureldin6562 3 года назад

    you are the best teacher!!

  • @practical-skills-school
    @practical-skills-school 2 года назад

    Thankx a lot. Left Leaflet because of wierd perforamnce in bootstrap modals. Mapbox does have issues in them too, but more affordable

  • @abdouett3676
    @abdouett3676 3 года назад

    Great tutorial, thank you!

    • @utkarshrawat2872
      @utkarshrawat2872 3 года назад

      I assume that you are using Google Maps for Mapping solutions or vehicle tracking. I would like to suggest you have a sheer look at Mapping Solutions which we provide by our product Flightmap, which could save around 90% of your valuable money on mapping services without any compromise in the service qualities.
      Let me know if this is something you're interested in. I’d love to provide more insights and present some of the endless use cases that are possible with our technology.
      Book a meeting with me here:
      Link: calendly.com/utkarsh-rawat
      Email: Utkarsh.rawat@jungleworks.com
      Looking forward to hearing from you!

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

    Nice video, thanks!

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

    This is Amazing !

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

    You just saved my life!!

  • @rinkujain1245
    @rinkujain1245 3 года назад +16

    Google: We have worked hard for years to make an app called Google Maps. It's not easy.
    Kyle: Hold my code

  • @user-zr7ve3ut5t
    @user-zr7ve3ut5t 2 года назад

    Great video! :D

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

    short but powerful.....thanks for always

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

    Thank you.

  • @salehhassan6057
    @salehhassan6057 3 года назад

    I really like your subjects

  • @beinyourguard
    @beinyourguard 3 года назад +63

    "And now, in only in 55 hours, we're going to be in Manchester" lol

  • @DocMaggie
    @DocMaggie Год назад +24

    Just a general tip which I see being done in almost all programming tutorials: when teaching people that are new to programming, they have a hard time instantly understanding what is appended to what. So, at the timestamp 3:58, don't name the div id "map", as well as the variable "map" AND the parameter value "map". Then beginners just have to look what is appended to what, and sometimes even wrongfully think that something else is appended to something else. It's not as intuitive to beginners as it is to programmers with at least some experience. The same goes with naming everything simply as "name", etc. Just make mini differences and it will be much clearer as to what is what.
    P. S. I'm not a beginner, but this very think bothered me so much when I was a beginner and learning over RUclips.

    • @jasonsworld333
      @jasonsworld333 Год назад +2

      Yes I agree it all becomes rather abstract.

    • @taurusdark7656
      @taurusdark7656 11 месяцев назад

      @@jasonsworld333 At minute 11:46, a choice of departure and arrival is made.
      I can do that but in my city, that is, how do I restrict it?

  • @web-development4180
    @web-development4180 3 года назад

    Thanks man!

  • @corsaronero5619
    @corsaronero5619 3 года назад

    super cool, thanks a lot Bro, keep it up :)

    • @utkarshrawat2872
      @utkarshrawat2872 3 года назад

      I assume that you are using Google Maps for Mapping solutions or vehicle tracking. I would like to suggest you have a sheer look at Mapping Solutions which we provide by our product Flightmap, which could save around 90% of your valuable money on mapping services without any compromise in the service qualities.
      Let me know if this is something you're interested in. I’d love to provide more insights and present some of the endless use cases that are possible with our technology.
      Book a meeting with me here:
      Link: calendly.com/utkarsh-rawat
      Email: Utkarsh.rawat@jungleworks.com
      Looking forward to hearing from you!

  • @dipenchavda6988
    @dipenchavda6988 3 года назад

    Super COOL!!!!!!!!!!!!!!

  • @tofiknuryanto4247
    @tofiknuryanto4247 3 года назад

    and now i will build create personal maps navigator.
    Thanks a lotttttttt

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

    Too cool!

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

    excelent tutorial

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

    Hey Kyle, I am visiting a bootcamp in which I am learning about Web-Development. I am trying to integrate in my organizer application a map component. I am working with React js and I wonder if you have any recommendations on how to integrate your example in a React js Project? I would be thankful for any help =) I love your tutorials and hope to see more

  • @sankaranarayanan7847
    @sankaranarayanan7847 3 года назад +1

    Hi . Pls make more css clones like the youtube one.. I loved it

  • @zainebmohammed4726
    @zainebmohammed4726 3 года назад

    very good, Thanks

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

    Are you able to use this to calculate the estimated carbon emissions between point A and B?

  • @ragunathanm6787
    @ragunathanm6787 3 года назад

    Awesome!!!

  • @mattplaygamez
    @mattplaygamez 3 года назад +1

    Hi Kyle, Can you please make a video over authentication without depencies in Nodejs
    The video is great

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

    Good stuff

  • @minilikshumete2430
    @minilikshumete2430 3 года назад

    Wowww, u'r different, thanks alot

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

    love the tutorial, when i click on map that coordinates were passed to the direction API and the route changes to the point I clicked, I don't want this to happen what should I do to turn of that. thanks in advanced..

  • @harsharamayanam7484
    @harsharamayanam7484 3 года назад

    Nice video. But how do we dynamically put "From-To" places in javascript?

  • @abe10
    @abe10 3 года назад

    I used this in one of the challenges from Frontendmentor

  • @synckamas8158
    @synckamas8158 3 года назад

    Thanks to this tutorial, please can you make again some videos about mapbox? Thnx, you're awesome

    • @utkarshrawat2872
      @utkarshrawat2872 3 года назад

      I assume that you are using Google Maps for Mapping solutions or vehicle tracking. I would like to suggest you have a sheer look at Mapping Solutions which we provide by our product Flightmap, which could save around 90% of your valuable money on mapping services without any compromise in the service qualities.
      Let me know if this is something you're interested in. I’d love to provide more insights and present some of the endless use cases that are possible with our technology.
      Book a meeting with me here:
      Link: calendly.com/utkarsh-rawat
      Email: Utkarsh.rawat@jungleworks.com
      Looking forward to hearing from you!

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

    Hello! I'd just like to know what app/program you used to run the Mapbox code, as I need to use it to run the codes for Mapbox. Thanks!

  • @peymanpishgah8561
    @peymanpishgah8561 3 года назад

    thanks so much.

    • @utkarshrawat2872
      @utkarshrawat2872 3 года назад

      I assume that you are using Google Maps for Mapping solutions or vehicle tracking. I would like to suggest you have a sheer look at Mapping Solutions which we provide by our product Flightmap, which could save around 90% of your valuable money on mapping services without any compromise in the service qualities.
      Let me know if this is something you're interested in. I’d love to provide more insights and present some of the endless use cases that are possible with our technology.
      Book a meeting with me here:
      Link: calendly.com/utkarsh-rawat
      Email: Utkarsh.rawat@jungleworks.com
      Looking forward to hearing from you!

  • @KrishThakrar-ck3rn
    @KrishThakrar-ck3rn 3 месяца назад

    Is it possible to retreive the locations entered in the default input fields into state variables in React?

  • @safarihooo0sh503
    @safarihooo0sh503 9 месяцев назад

    how do i add navigation, google navigation sdk on react native? so i can add a navigation route like in the google map, when we click on 'start'

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

    very usefulllll

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

    Hi Kyle, How can I add ‘’ C or D clones ‘’ to search? İs it possible?Thanks a lot

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

    Could you do this one in React please? The demo on the documentation is not working for me.

  • @swoorp
    @swoorp 3 года назад

    Wut?? Hey crazy person!! Love you 😘 loved the project

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

    Pretty cool! I don't suppose you could show us how to display geolocation data from a third party API on MapBox...?

  • @DheerajSharma-kt6df
    @DheerajSharma-kt6df 3 года назад

    Hello sir, really useful tutorial...what about live movement of user

  • @HikikomoriDev
    @HikikomoriDev 3 года назад

    How would I go about having the server pre render all that and then just spitting out a grid of jpegs wherever the web client goes.

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

    Excellent and to the point video. Can we add Navigation and multiple stops in between with optimized routes here?

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

    terima kasih :) tutorialnya berhasil !

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

      bjir mantap banh

  • @ahsantahseen6531
    @ahsantahseen6531 3 года назад

    Best!

  • @gedeoneyasu6811
    @gedeoneyasu6811 3 года назад

    was trying to be the first commenter but I think I am way late! great videos kyle

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

    hey, so does this mean, the map can also track the device's location too?? cause that's something I wanted in my web application.

  • @randomvids7276
    @randomvids7276 3 года назад

    Can I use this for Augmented reality?

  • @Rohit-gw8tk
    @Rohit-gw8tk 3 года назад

    Awesome, thanks for this useful post.. Just one question is it possible to get district, city, country using current location and save it to mysql?
    Thanks

    • @utkarshrawat2872
      @utkarshrawat2872 3 года назад

      I assume that you are using Google Maps for Mapping solutions or vehicle tracking. I would like to suggest you have a sheer look at Mapping Solutions which we provide by our product Flightmap, which could save around 90% of your valuable money on mapping services without any compromise in the service qualities.
      Let me know if this is something you're interested in. I’d love to provide more insights and present some of the endless use cases that are possible with our technology.
      Book a meeting with me here:
      Link: calendly.com/utkarsh-rawat
      Email: Utkarsh.rawat@jungleworks.com
      Looking forward to hearing from you!

  • @josesosa2712
    @josesosa2712 3 года назад

    Well, I tried to look a location and it gives me other locations but the one that I require doesn't appear in the suggestions

  • @MohammadaAprilianto
    @MohammadaAprilianto 3 года назад

    how to add few marker and label?

  • @tarunbharadwaj9427
    @tarunbharadwaj9427 3 года назад +1

    Could you make a google classroom clone, that would be really helpful!!!

  • @adityamaurya8092
    @adityamaurya8092 3 года назад +1

    Make a vedio on how to stream vedio on nodejs like RUclips .
    I have searched on Google but it's give code of that but I can not understand

  • @Yourmemesfever
    @Yourmemesfever 28 дней назад

    I got a question KYLE sir would it be fine if we just copy this and add the UI/UX from our side and make an app to publish?

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

    Great video. Is it possible to indicate to Mapbox that you want to avoid certain location and to calculate an alternative route?

  • @zian.2493
    @zian.2493 3 года назад

    How to extract elevations and open it on 3d software

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

    I think your tutorials are amazing but I was thinking if you could make tutorials on PHP langauge too as it is also related to web development.

    • @utkarshrawat2872
      @utkarshrawat2872 3 года назад

      I assume that you are using Google Maps for Mapping solutions or vehicle tracking. I would like to suggest you have a sheer look at Mapping Solutions which we provide by our product Flightmap, which could save around 90% of your valuable money on mapping services without any compromise in the service qualities.
      Let me know if this is something you're interested in. I’d love to provide more insights and present some of the endless use cases that are possible with our technology.
      Book a meeting with me here:
      Link: calendly.com/utkarsh-rawat
      Email: Utkarsh.rawat@jungleworks.com
      Looking forward to hearing from you!

  • @VeiZeix
    @VeiZeix 3 года назад

    another simplified tutorial. thank you. if you don't mind, can you make a similar tutorial using leaflet or a basic to intermediate course on leaflet using opensource tileset? mapbox is really awesome but they get expensive after 25k users.

    • @utkarshrawat2872
      @utkarshrawat2872 3 года назад

      I assume that you are using Google Maps for Mapping solutions or vehicle tracking. I would like to suggest you have a sheer look at Mapping Solutions which we provide by our product Flightmap, which could save around 90% of your valuable money on mapping services without any compromise in the service qualities.
      Let me know if this is something you're interested in. I’d love to provide more insights and present some of the endless use cases that are possible with our technology.
      Book a meeting with me here:
      Link: calendly.com/utkarsh-rawat
      Email: Utkarsh.rawat@jungleworks.com
      Looking forward to hearing from you!

  • @Cloud-577
    @Cloud-577 3 года назад

    thank you that was helpful! I'm working on a side project and refuse to use Google api (broke ppl problem). also one of those days we will hear play the guitar lol

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

    Wow🤯

  • @jungamaroli8567
    @jungamaroli8567 3 года назад

    i'm trying your code and tutorial its work fluenty on website,but when i'm try on mobile,its so lag, any suggest?

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

    mapbox control for c# winforms?

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

    I have an error on my side in script.js . I have mapboxgl is not defined . Anyone can help out ? Thank you

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

    Awesome men, could you do this using react-native

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

    Do you freelance for a Laravel project?

  • @RahulAhire
    @RahulAhire 3 года назад

    Kyle, I had one question that what you think between using gmap API Vs mapbox API. In my opinion no-one is as close and accurate to Google maps and generally pricing are even same. What's your opinion on it

    • @utkarshrawat2872
      @utkarshrawat2872 3 года назад

      You should try us once. I guess that you are using Google Maps for Mapping solutions or vehicle tracking. I would like to suggest you have a sheer look at Mapping Solutions which we provide by our product Flightmap, which could save around 90% of your valuable money on mapping services without any compromise in the service qualities.
      Let me know if this is something you're interested in. I’d love to provide more insights and present some of the endless use cases that are possible with our technology.
      Book a meeting with me here:
      Link: calendly.com/utkarsh-rawat
      Email: Utkarsh.rawat@jungleworks.com
      Looking forward to hearing from you!

  • @toihirhalim
    @toihirhalim 3 года назад

    How can life be this easy ? Nice thanks !

  • @abhishekpratap05
    @abhishekpratap05 3 года назад +17

    *Last few minutes* there is no way he can implement that directional feature in this video.
    *1 min later*
    😐😱😵 Shouldn't have doubted him.
    Great video, big time fan of yours. The projects you bring are so much better and real world that it amazes me everytime.❤️

    • @WebDevSimplified
      @WebDevSimplified  3 года назад +3

      Thank you so much!

    • @abhishekpratap05
      @abhishekpratap05 3 года назад +1

      I am somewhat in pitfall, where I see every day new technology and brain is diverting it from the current technology I am working on. It's hard to manage as I just started my career in web development.

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

      I mean, the thing is that you can either implement it by yourself with fetch/ajax requests tot the Directions API or you use the plugins the people created and that just goes holy hecking fast!

    • @taurusdark7656
      @taurusdark7656 11 месяцев назад

      @@WebDevSimplified At minute 11:46, a choice of departure and arrival is made.
      I can do that but in my city, that is, how do I restrict it?

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

    my bro..
    please help me the code for "add marker at my location"

  • @ammnvx8799
    @ammnvx8799 3 года назад

    so for me the last 2 things is not working its not zooming in/out also Direction