Real-Time GPS User Tracking Geolocation API JavaScript Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • Track location, speed, heading and altitude in real-time or as a one shot request for a user. Add the pieces of data to your database, then recall the data when needed to show their position markers on a map of your choosing.

ความคิดเห็น • 114

  • @matstubs
    @matstubs 2 ปีที่แล้ว +25

    your old videos got me started into web developing to a point where i made a business for myself. hopefully i can buy you a beer one day. thanks for everything adam u shifted my life in ways you don't even know!

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +8

      That's really cool to hear! Thanks for taking the time to say it. A nice cold heineken sounds good.

  • @simbarashemaunga5575
    @simbarashemaunga5575 2 ปีที่แล้ว +11

    Its really great to have you back. I owe most of my earlier days of success as an engineer to you. A big thank you

  • @coinheadz1942
    @coinheadz1942 2 ปีที่แล้ว +20

    It's nice to hear you voice. I thought you died. You are the reason why I learned how to program. Much love from Brooklyn!

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +15

      Brooklyn in the house! I'll be uploading my consciousness to the internet in 2025, so I'll be around forever in spirit.

    • @jagannathps
      @jagannathps ปีที่แล้ว

      ​@@AdamKhoury 😂

    • @TheIndianOutcast
      @TheIndianOutcast หลายเดือนก่อน

      What in the South Park is that comment?😂😂😂

  • @asumpe
    @asumpe 2 ปีที่แล้ว +11

    Welcome back, Adam, is been a while, that is my Master in Programming. From beginner to advance programming all being always comprehensively explained. Thanks as always. Maybe, one of these days you will have to advice/teach us on which framework to go for, although am not a fan of frameworks, I like being creative with the vanilla languages. Since, some industries want us to use these frameworks that is why I have started learning React and Node.js and easier for me with the knowledge of JavaScript. Thanks bro!

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +2

      Nice to hear from you Godwin. As you stated, the key to being proficient with any of the many 3rd party tools that already exist, and the hundreds more to come soon, is knowledge of the core language they are built with. You'll more easily master any that emerge and be more useful to a wider array of clients/projects. Wishing you success buddy!

    • @asumpe
      @asumpe 2 ปีที่แล้ว +2

      @@AdamKhoury Thank you Adam!

  • @BasuraRatnayake
    @BasuraRatnayake 2 ปีที่แล้ว +5

    Thanks Adam. Glad you are back and waiting for more content.

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +3

      More is coming for you sir.

  • @tobias7716
    @tobias7716 2 ปีที่แล้ว +6

    Adam. you are the legend of my early days of coding !

  • @seemsas
    @seemsas 2 ปีที่แล้ว +2

    Hooray!! Welcome back. I instantly gave ThumbUp and will now watch your tut!

  • @Tokinjester
    @Tokinjester 2 ปีที่แล้ว +1

    great to see you back again, I was just about to revisit some of your old canvas/animation vids too

  • @josephefunbote9026
    @josephefunbote9026 2 ปีที่แล้ว +5

    Thanks Adam! Been a while Sir. Nice to watch ur tutorial again

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      Hi Joseph, hope you are doing well. Thanks for saying hello.

  • @anthonyzornig
    @anthonyzornig 2 ปีที่แล้ว +2

    Hey Adam, nice to see you back !

  • @geef0813
    @geef0813 11 หลายเดือนก่อน +2

    This is great. I’m returning to the IT field. (Or working towards it). My son got a ticket directly my 85 in a 45. As practice and as extra kicker for punishment I wanted to build something along these lines to keep up with his speed. Thanks so much for getting me started.

    • @AdamKhoury
      @AdamKhoury  11 หลายเดือนก่อน +2

      Woah 85 in a 45... that's bold. Yeah make the program set off alarms somewhere and SMS text message if his speed goes over a number you set. I have a SMS text tutorial for PHP here somewhere.

    • @geef0813
      @geef0813 11 หลายเดือนก่อน

      @@AdamKhoury perfect! I’ll check that out! That’s exactly what I was thinking. Should’ve known you’d have a video for every subject! Thanks so much.

  • @lacysrhr
    @lacysrhr 2 ปีที่แล้ว +3

    Awesome to see you back! Keep your accent!

  • @alhassanabdulmumin2675
    @alhassanabdulmumin2675 2 ปีที่แล้ว +4

    Its been a while, thanks for all you have done

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +2

      No problem partner. I'm about to really entertain my 200 subscribers.

  • @greggoddard5618
    @greggoddard5618 2 ปีที่แล้ว +2

    So great your back mate, keep them coming pleaseeeee :)

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +2

      Thank you sir, will try my best!

  • @aghahasaan
    @aghahasaan 2 ปีที่แล้ว +2

    Good to have you back bro

  • @thamugurung9370
    @thamugurung9370 2 ปีที่แล้ว +2

    Welcome back Adam 🙏

  • @naziruadam3950
    @naziruadam3950 2 ปีที่แล้ว +3

    Please post more often, Adam.

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      Yes sir, will do.

  • @jeffersondelima2216
    @jeffersondelima2216 2 ปีที่แล้ว +4

    Nice to hear from you again, Adam! May I know what code editor are you using now? Thanks!

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      Hi Jefferson, it's Atom.io , it's free and good!

  • @christian-schubert
    @christian-schubert 2 ปีที่แล้ว +1

    That must've been telepathy...
    I'm currently not subbed to the channel any more but was just thinking to myself "gee, wonder what my guy Adam's been up to lately" - and BOOM - new video just a mere couple hours ago 😃
    Really wish we'd see more of you again, like back in the (g)olden days (anyone remember Adam's Actionscript vids?)

    • @asumpe
      @asumpe 2 ปีที่แล้ว

      Yes!

    • @coinheadz1942
      @coinheadz1942 2 ปีที่แล้ว

      The action script videos were awesome!

  • @indramal
    @indramal 2 ปีที่แล้ว +2

    OH MY GOD. You are back. Thank you

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +2

      This time I plan to leave for 2 years, then upload one 3 minute video. Just kidding, I'm about to add non-developer content to my channel to spice things up.

    • @indramal
      @indramal 2 ปีที่แล้ว +1

      @@AdamKhoury you can not go anywhere. 😜 wow nice waiting for that. Hope you make e-commerce, social media videos also with modern methods.

  • @NedumEze
    @NedumEze 2 ปีที่แล้ว +2

    Thanks Adam. Will give it a great whirl.

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      Good luck with yours. I'm programming a mobile app to allow the minority/demonized heterosexual community to do quick find/hook-ups in alley-ways behind dumpsters.

  • @mtranchi
    @mtranchi 2 ปีที่แล้ว +3

    holy sh*t... he lives!!! Plus, always thought you were in new york...

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +2

      hehe... from New York but I left it a long time ago for something more beautiful and spacious.

    • @levi-sl1eb
      @levi-sl1eb 2 ปีที่แล้ว +1

      @@AdamKhoury u live in las vegas right? I hacked u heheheh

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      @@levi-sl1eb Yes in Vegas and yes I can confirm that you hacked me :) Your skills are impressive!

  • @kayots
    @kayots 2 ปีที่แล้ว +2

    webintersect site is down ! :( also thanks for the great videos for the past many years

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      I'm about to unplug developphp also. Webintersect was unplugged 10 years ago. Soon everything I produce will go on adamkhoury . com

  • @diorjadore4887
    @diorjadore4887 10 หลายเดือนก่อน +1

    wooow , explication is so clear ❤ THANK YOU VERY MUCH ❤

    • @AdamKhoury
      @AdamKhoury  10 หลายเดือนก่อน

      Thanks, no problem

  • @hitlarrajbhandari
    @hitlarrajbhandari ปีที่แล้ว

    *Welcome back* 🍻

  • @peristiloperis7789
    @peristiloperis7789 2 ปีที่แล้ว +2

    Hi, Adam. I miss your videos.

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +2

      Hello! I miss making them.

  • @Mr.Brahim-AB
    @Mr.Brahim-AB 2 ปีที่แล้ว +3

    Thank you sir!!

  • @trommelbiel
    @trommelbiel 2 ปีที่แล้ว +1

    Does anyone know of Adam is still making videos? He is one of the most gifted teachers out there.

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      Hello and thanks for the kind words. I have hopes to get more active making videos. I had 2 children, that shifted my time and focus for a while but I am getting bored with them ;)

    • @trommelbiel
      @trommelbiel 2 ปีที่แล้ว +1

      @@AdamKhoury please come back. Thanks for responding. I really enjoyed your method of teaching. A few things have changed since l visited your channel last
      Hope you can bring us to speed with the latest programming languages.

  • @EdRein
    @EdRein 2 ปีที่แล้ว +2

    One click get and send GPS/geolocation to email or mobile, I need that for a webpage

  • @neiltaylor6825
    @neiltaylor6825 2 ปีที่แล้ว +2

    Brilliant thank you!

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      No sweat partner!

  • @AshrafSada
    @AshrafSada ปีที่แล้ว

    Great illustration Thank you.

  • @Jornaotario
    @Jornaotario ปีที่แล้ว +1

    will it run in background just from the html file? Or do i gotta make an app?

  • @SinisterSports
    @SinisterSports ปีที่แล้ว +1

    I catch it in the video, but can this have multiple tracks on one map? We would be using Garmin inReach at an event with 100 users.

  • @whyitsnoneofyourbusiness3607
    @whyitsnoneofyourbusiness3607 9 หลายเดือนก่อน

    this was extremely helpful thank you so much

  • @muebledurable8270
    @muebledurable8270 2 ปีที่แล้ว +2

    Hello, how many daily requests are allowed?

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      I do not know. Maybe someone else here can supply a number.

  • @alexnitro1101
    @alexnitro1101 8 หลายเดือนก่อน

    This is great stuff much appreciated information ℹ️

  • @007manace
    @007manace 8 หลายเดือนก่อน +1

    Hello! I want to save user geolocation of the all day in the database. How can I do it please?

    • @AdamKhoury
      @AdamKhoury  7 หลายเดือนก่อน

      Write a database query using any database of your choosing to insert the coordinates obtained by this, on a timed basis. JavaScript can transfer this data to your server side language or tech. Your server side language or JavaScript both can do things on a repeating timed execution basis and insertion of data to database can occur at an interval that you specify. Short intervals would use much more server resources than longer intervals, so be gentle on your server.

  • @jhey-nyt6206
    @jhey-nyt6206 ปีที่แล้ว

    Thank you for ideas. More videos. Godbless

  • @kodcx9654
    @kodcx9654 2 ปีที่แล้ว +1

    Thank you in advance for this video. Just interested in the thumbnail and why you chose this specific region for the map shot?

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      It looked pretty... no other reason... I don't live there.

    • @kodcx9654
      @kodcx9654 2 ปีที่แล้ว +1

      @@AdamKhoury The funny thing is this is my area of the country/world. I thought, wow this tutorial is so good it somehow geotracks the viewer and updates the thumbnail for their general location. 😀

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +2

      @@kodcx9654 🤣now that would be something. Pretty spot you got there.

  • @divyanshk4610
    @divyanshk4610 ปีที่แล้ว

    This is great, thank you!

  • @edberaga
    @edberaga 2 ปีที่แล้ว +1

    Map cant show, Position isn't showing, all datas cant show, I dont understand at all... why I cant use the Geolocation API? nothing is working at all

    • @bgmieditscy
      @bgmieditscy 4 หลายเดือนก่อน

      good night

  • @kevinjeffrey1297
    @kevinjeffrey1297 ปีที่แล้ว +1

    So if you want to get the live location of your user you will have to constantly send their location updates to the database before pulling the location to plot it on a map for you to see? That would take a lot of I/O into the database, that would cost a lot if you have hundred of users you want to track live.

    • @kevinjeffrey1297
      @kevinjeffrey1297 ปีที่แล้ว +1

      Is there not an alternative to constantly I/O location into a database?

    • @AdamKhoury
      @AdamKhoury  ปีที่แล้ว

      Yes sir, expensive data transfer for a lot of concurrent users without a doubt. But it depends on your method of data transfer. Socket connections may be the best option, I am not sure. I would develop a socket server in either Python, PHP or Node, then connect the user to that for intaking their ever changing location. One way to lighten the load would be to put their location in their local storage(cookie) and first check to see if they have moved. If they are staying still, do not transfer data to database. Only update database if your system senses they have moved from last known location. Hope that helps a bit, but it is an expensive system on the back end if you have a lot of users being tracked and shown to everyone.

  • @johnwilson6067
    @johnwilson6067 ปีที่แล้ว +2

    damn missed you for so long. can you help me with a complete tutorial to track this using an api key and update it on a database

  • @maxsigne
    @maxsigne ปีที่แล้ว +1

    Hi, how can i get longitude and latitude in PHP variables

  • @baselplays8
    @baselplays8 ปีที่แล้ว +1

    Thank you for the video
    I have database with real time lat long
    Basically i need my script to get the lat long from database and show them on the map ..

  • @firstlastcreativity
    @firstlastcreativity 2 ปีที่แล้ว +1

    Hi, is there an update for the Sprite Programming Mastery book please ?

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      Unfortunately no... I think I eventually put most of its material into free videos here on YT, and haven't done sprite animation tutorials for a while now. But I may revisit the subject if I happen to do new work using sprites. I think I only sold the ebook for a couple of weeks.

  • @25celalettin
    @25celalettin 2 ปีที่แล้ว +1

    THANKS!

  • @almosawi32
    @almosawi32 ปีที่แล้ว +1

    thank you for all tutorials and this one, how I pass lat, long var to html or PHP if that is possible ? thank you

    • @AdamKhoury
      @AdamKhoury  ปีที่แล้ว +1

      No problem sir. One can use an Ajax POST call to pass those pieces of data to PHP then to database of their choosing. I have some Ajax tutorials with PHP, but look around at other examples too.

    • @almosawi32
      @almosawi32 ปีที่แล้ว

      @@AdamKhoury thank you sir

  • @joshmcnamara72
    @joshmcnamara72 ปีที่แล้ว

    Could I contact you for more information about this, I need help with this for my line of work and having a better understanding would be great!

  • @NissiSuccess
    @NissiSuccess 3 หลายเดือนก่อน

    Why won't the first step work for me????

  • @remmy7496
    @remmy7496 ปีที่แล้ว

    So can I use this to make an app where the client can track people they want to track n visa versa?

  • @TaprobanaOrg
    @TaprobanaOrg 2 ปีที่แล้ว +1

    ❤❤

  • @ashishbagate3390
    @ashishbagate3390 2 ปีที่แล้ว

    Sir at the time of 4:53 of the video you showed your current location details. I tried but google refused my connection. Please help me out

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +2

      Not sure partner. My file was on my local computer. My internet connection was on. Maybe try uploading the file to a server online and testing there if all else fails. Good luck!

  • @AbhishekSharma-fg1ho
    @AbhishekSharma-fg1ho 11 หลายเดือนก่อน

    in my case its not asking location and i am facing error which is can not access location and site is also not secure what i do

  • @javaholiday
    @javaholiday 2 ปีที่แล้ว +2

    Hi Adam.. miss your voice 😁😁

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      Well you don't have to wait for my videos, I can whisper to you privately over the phone any time. hehe jk

  • @noahharris9192
    @noahharris9192 ปีที่แล้ว

    Speed and heading is not working for me for some reason

  • @edberaga
    @edberaga 2 ปีที่แล้ว

    why my map isnt show up...?

  • @ahadsinventory6461
    @ahadsinventory6461 9 หลายเดือนก่อน

    Hey, can you guide me on how to track multiple devices on your website?

  • @Shivu_editz25
    @Shivu_editz25 ปีที่แล้ว

    How can i create a api integration like google map

  • @hafidnurfirmansyah2839
    @hafidnurfirmansyah2839 ปีที่แล้ว

    Amazinggg

  • @pirateben
    @pirateben ปีที่แล้ว

    this would work grate for divery system

  • @gentleman7060
    @gentleman7060 8 หลายเดือนก่อน +1

    If you do not show the output. This is useless.

  • @ZeRo-ho5oi
    @ZeRo-ho5oi 2 ปีที่แล้ว

    Where is the link?

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +1

      In the video at 0:30 seconds.

  • @MRMOTOFOTO
    @MRMOTOFOTO 2 ปีที่แล้ว +1

    Can you show this in Jquery code please??? 😆 😆 😆

    • @AdamKhoury
      @AdamKhoury  2 ปีที่แล้ว +2

      Thanks for that, I needed a good chuckle. Just put a "$" symbol preceding all lines of code in the video, it will then have jQuery superpowers.

    • @MRMOTOFOTO
      @MRMOTOFOTO 2 ปีที่แล้ว

      @@AdamKhoury thank you!

  • @gustavo_cg402
    @gustavo_cg402 9 หลายเดือนก่อน

    Eai gente. Estou criando um sistema de rastreamento de uns equipamentos personalizados de uma empresa privada! Tô procurando alguém com experiência para realizar a integração de um modelo de rastreador e a criação de uma página para essa integração ser automática. Alguém conhece alguém ou tem essa experiência ?

  • @faizan2364
    @faizan2364 หลายเดือนก่อน

    3:52

  • @Dexter101x
    @Dexter101x ปีที่แล้ว

    It originated from NSA, just saying, lol