Real-Time GPS User Tracking Geolocation API JavaScript Programming

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 118

  • @matstubs
    @matstubs 2 роки тому +29

    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 роки тому +10

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

  • @coinheadz1942
    @coinheadz1942 2 роки тому +21

    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 роки тому +16

      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 4 місяці тому

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

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

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

  • @seemsas
    @seemsas 2 роки тому +2

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

  • @lacysrhr
    @lacysrhr 2 роки тому +3

    Awesome to see you back! Keep your accent!

  • @anthonyzornig
    @anthonyzornig 2 роки тому +2

    Hey Adam, nice to see you back !

  • @geef0813
    @geef0813 Рік тому +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  Рік тому +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 Рік тому

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

  • @tobias7716
    @tobias7716 2 роки тому +6

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

  • @asumpe
    @asumpe 2 роки тому +12

    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!

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

  • @Tokinjester
    @Tokinjester 2 роки тому +1

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

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

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

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

  • @naziruadam3950
    @naziruadam3950 2 роки тому +3

    Please post more often, Adam.

  • @thamugurung9370
    @thamugurung9370 2 роки тому +2

    Welcome back Adam 🙏

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

  • @kimberlyjacobsen4148
    @kimberlyjacobsen4148 27 днів тому

    You did the total runtime to 13:37 on purpose
    Also to info const { latitude, longitude} = position.cords
    De structures the cords object and extracts latitude and longitude only making it easier to access

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

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

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

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

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

  • @peristiloperis7789
    @peristiloperis7789 2 роки тому +2

    Hi, Adam. I miss your videos.

    • @AdamKhoury
      @AdamKhoury  2 роки тому +2

      Hello! I miss making them.

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

    This is great stuff much appreciated information ℹ️

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

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

    Great illustration Thank you.

  • @hitlarrajbhandari
    @hitlarrajbhandari 2 роки тому

    *Welcome back* 🍻

  • @whyitsnoneofyourbusiness3607

    this was extremely helpful thank you so much

  • @jhey-nyt6206
    @jhey-nyt6206 Рік тому

    Thank you for ideas. More videos. Godbless

  • @SinisterSports
    @SinisterSports 2 роки тому +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.

  • @arthur.batista2324
    @arthur.batista2324 Рік тому +1

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

  • @neiltaylor6825
    @neiltaylor6825 2 роки тому +2

    Brilliant thank you!

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

  • @Mr.Brahim-AB
    @Mr.Brahim-AB 2 роки тому +3

    Thank you sir!!

  • @divyanshk4610
    @divyanshk4610 2 роки тому

    This is great, thank you!

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

  • @EdRein
    @EdRein 2 роки тому +2

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

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

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

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

    • @AdamKhoury
      @AdamKhoury  10 місяців тому

      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.

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

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

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

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

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

  • @smartjohnene4201
    @smartjohnene4201 20 днів тому

    Thank you so very much

  • @redmundperrz7234
    @redmundperrz7234 18 днів тому

    Nice explanation,any update for this video for new method

  • @Shivu_editz25
    @Shivu_editz25 2 роки тому +1

    How can i create a api integration like google map

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

  • @baselplays8
    @baselplays8 2 роки тому +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 ..

  • @johnwilson6067
    @johnwilson6067 2 роки тому +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

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

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

  • @remmy7496
    @remmy7496 2 роки тому

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

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

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

  • @25celalettin
    @25celalettin 2 роки тому +1

    THANKS!

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

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

  • @edberaga
    @edberaga 2 роки тому

    why my map isnt show up...?

  • @AbhishekSharma-fg1ho
    @AbhishekSharma-fg1ho Рік тому

    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

  • @TaprobanaOrg
    @TaprobanaOrg 2 роки тому +1

    ❤❤

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

    Speed and heading is not working for me for some reason

  • @hafidnurfirmansyah2839
    @hafidnurfirmansyah2839 2 роки тому

    Amazinggg

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

    this would work grate for divery system

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

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

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

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

    3:52

  • @ZeRo-ho5oi
    @ZeRo-ho5oi 2 роки тому

    Where is the link?

    • @AdamKhoury
      @AdamKhoury  2 роки тому +1

      In the video at 0:30 seconds.

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

    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 ?

  • @Dexter101x
    @Dexter101x 2 роки тому

    It originated from NSA, just saying, lol