Тёмный

Real-Time GPS User Tracking Geolocation API JavaScript Programming 

Adam Khoury
Подписаться 192 тыс.
Просмотров 135 тыс.
50% 1

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.

Опубликовано:

 

9 июн 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 112   
@matstubs
@matstubs 2 года назад
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 года назад
That's really cool to hear! Thanks for taking the time to say it. A nice cold heineken sounds good.
@simbarashemaunga5575
@simbarashemaunga5575 Год назад
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
@jimo9555
@jimo9555 2 года назад
great to see you back again, I was just about to revisit some of your old canvas/animation vids too
@basuraratnayake6004
@basuraratnayake6004 2 года назад
Thanks Adam. Glad you are back and waiting for more content.
@AdamKhoury
@AdamKhoury 2 года назад
More is coming for you sir.
@seemsas
@seemsas 2 года назад
Hooray!! Welcome back. I instantly gave ThumbUp and will now watch your tut!
@tobias7716
@tobias7716 2 года назад
Adam. you are the legend of my early days of coding !
@anthonyzornig
@anthonyzornig 2 года назад
Hey Adam, nice to see you back !
@coinheadz1942
@coinheadz1942 2 года назад
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 года назад
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 😂
@godwinasuquo2387
@godwinasuquo2387 2 года назад
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 года назад
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!
@godwinasuquo2387
@godwinasuquo2387 2 года назад
@@AdamKhoury Thank you Adam!
@greggoddard5618
@greggoddard5618 Год назад
So great your back mate, keep them coming pleaseeeee :)
@AdamKhoury
@AdamKhoury Год назад
Thank you sir, will try my best!
@alhassanabdulmumin2675
@alhassanabdulmumin2675 2 года назад
Its been a while, thanks for all you have done
@AdamKhoury
@AdamKhoury 2 года назад
No problem partner. I'm about to really entertain my 200 subscribers.
@josephefunbote9026
@josephefunbote9026 2 года назад
Thanks Adam! Been a while Sir. Nice to watch ur tutorial again
@AdamKhoury
@AdamKhoury 2 года назад
Hi Joseph, hope you are doing well. Thanks for saying hello.
@thamugurung9370
@thamugurung9370 2 года назад
Welcome back Adam 🙏
@lacysrhr
@lacysrhr 2 года назад
Awesome to see you back! Keep your accent!
@AdamKhoury
@AdamKhoury 2 года назад
👍
@geef0813
@geef0813 9 месяцев назад
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 9 месяцев назад
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 9 месяцев назад
@@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.
@aghahasaan
@aghahasaan 2 года назад
Good to have you back bro
@AdamKhoury
@AdamKhoury Год назад
Thanks man
@naziruadam3950
@naziruadam3950 2 года назад
Please post more often, Adam.
@AdamKhoury
@AdamKhoury 2 года назад
Yes sir, will do.
@AshrafSada
@AshrafSada Год назад
Great illustration Thank you.
@divyanshk4610
@divyanshk4610 Год назад
This is great, thank you!
@NedumEze
@NedumEze 2 года назад
Thanks Adam. Will give it a great whirl.
@AdamKhoury
@AdamKhoury 2 года назад
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.
@indramal
@indramal 2 года назад
OH MY GOD. You are back. Thank you
@AdamKhoury
@AdamKhoury 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 года назад
@@AdamKhoury you can not go anywhere. 😜 wow nice waiting for that. Hope you make e-commerce, social media videos also with modern methods.
@whyitsnoneofyourbusiness3607
@whyitsnoneofyourbusiness3607 7 месяцев назад
this was extremely helpful thank you so much
@hitlarrajbhandari
@hitlarrajbhandari Год назад
*Welcome back* 🍻
@alexnitro1101
@alexnitro1101 7 месяцев назад
This is great stuff much appreciated information ℹ️
@diorjadore4887
@diorjadore4887 9 месяцев назад
wooow , explication is so clear ❤ THANK YOU VERY MUCH ❤
@AdamKhoury
@AdamKhoury 9 месяцев назад
Thanks, no problem
@jhey-nyt6206
@jhey-nyt6206 Год назад
Thank you for ideas. More videos. Godbless
@christian-schubert
@christian-schubert 2 года назад
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?)
@godwinasuquo2387
@godwinasuquo2387 2 года назад
Yes!
@coinheadz1942
@coinheadz1942 2 года назад
The action script videos were awesome!
@neiltaylor6825
@neiltaylor6825 2 года назад
Brilliant thank you!
@AdamKhoury
@AdamKhoury 2 года назад
No sweat partner!
@jeffersondelima2216
@jeffersondelima2216 2 года назад
Nice to hear from you again, Adam! May I know what code editor are you using now? Thanks!
@AdamKhoury
@AdamKhoury 2 года назад
Hi Jefferson, it's Atom.io , it's free and good!
@Mr.Brahim-AB
@Mr.Brahim-AB 2 года назад
Thank you sir!!
@AdamKhoury
@AdamKhoury Год назад
No problemo!
@25celalettin
@25celalettin 2 года назад
THANKS!
@SinisterSports
@SinisterSports Год назад
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.
@mtranchi
@mtranchi 2 года назад
holy sh*t... he lives!!! Plus, always thought you were in new york...
@AdamKhoury
@AdamKhoury 2 года назад
hehe... from New York but I left it a long time ago for something more beautiful and spacious.
@levi-sl1eb
@levi-sl1eb 2 года назад
@@AdamKhoury u live in las vegas right? I hacked u heheheh
@AdamKhoury
@AdamKhoury 2 года назад
@@levi-sl1eb Yes in Vegas and yes I can confirm that you hacked me :) Your skills are impressive!
@maxsigne
@maxsigne Год назад
Hi, how can i get longitude and latitude in PHP variables
@EdRein
@EdRein Год назад
One click get and send GPS/geolocation to email or mobile, I need that for a webpage
@hafidnurfirmansyah2839
@hafidnurfirmansyah2839 Год назад
Amazinggg
@Jornaotario
@Jornaotario 11 месяцев назад
will it run in background just from the html file? Or do i gotta make an app?
@peristiloperis7789
@peristiloperis7789 Год назад
Hi, Adam. I miss your videos.
@AdamKhoury
@AdamKhoury Год назад
Hello! I miss making them.
@trommelbiel
@trommelbiel Год назад
Does anyone know of Adam is still making videos? He is one of the most gifted teachers out there.
@AdamKhoury
@AdamKhoury Год назад
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 Год назад
@@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.
@remmy7496
@remmy7496 Год назад
So can I use this to make an app where the client can track people they want to track n visa versa?
@baselplays8
@baselplays8 Год назад
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 ..
@kayots
@kayots 2 года назад
webintersect site is down ! :( also thanks for the great videos for the past many years
@AdamKhoury
@AdamKhoury Год назад
I'm about to unplug developphp also. Webintersect was unplugged 10 years ago. Soon everything I produce will go on adamkhoury . com
@johnwilson6067
@johnwilson6067 Год назад
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
@kodcx9654
@kodcx9654 2 года назад
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 года назад
It looked pretty... no other reason... I don't live there.
@kodcx9654
@kodcx9654 2 года назад
@@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 года назад
@@kodcx9654 🤣now that would be something. Pretty spot you got there.
@TaprobanaOrg
@TaprobanaOrg Год назад
❤❤
@pirateben
@pirateben Год назад
this would work grate for divery system
@Shivu_editz25
@Shivu_editz25 Год назад
How can i create a api integration like google map
@AbhishekSharma-fg1ho
@AbhishekSharma-fg1ho 9 месяцев назад
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
@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!
@edberaga
@edberaga Год назад
why my map isnt show up...?
@ahadsinventory6461
@ahadsinventory6461 7 месяцев назад
Hey, can you guide me on how to track multiple devices on your website?
@firstlastcreativity
@firstlastcreativity 2 года назад
Hi, is there an update for the Sprite Programming Mastery book please ?
@AdamKhoury
@AdamKhoury 2 года назад
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 Год назад
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 Год назад
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.
@muebledurable8270
@muebledurable8270 2 года назад
Hello, how many daily requests are allowed?
@AdamKhoury
@AdamKhoury Год назад
I do not know. Maybe someone else here can supply a number.
@007manace
@007manace 6 месяцев назад
Hello! I want to save user geolocation of the all day in the database. How can I do it please?
@AdamKhoury
@AdamKhoury 5 месяцев назад
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.
@user-sp1wo8jf2q
@user-sp1wo8jf2q Месяц назад
Why won't the first step work for me????
@noahharris9192
@noahharris9192 11 месяцев назад
Speed and heading is not working for me for some reason
@almosawi32
@almosawi32 Год назад
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 Год назад
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
@edberaga
@edberaga Год назад
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 2 месяца назад
good night
@javaholiday
@javaholiday 2 года назад
Hi Adam.. miss your voice 😁😁
@AdamKhoury
@AdamKhoury 2 года назад
Well you don't have to wait for my videos, I can whisper to you privately over the phone any time. hehe jk
@ashishbagate3390
@ashishbagate3390 Год назад
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 Год назад
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!
@ZeRo-ho5oi
@ZeRo-ho5oi Год назад
Where is the link?
@AdamKhoury
@AdamKhoury Год назад
In the video at 0:30 seconds.
@gustavo_cg402
@gustavo_cg402 7 месяцев назад
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 ?
@gentleman7060
@gentleman7060 6 месяцев назад
If you do not show the output. This is useless.
@MRMOTOFOTO
@MRMOTOFOTO 2 года назад
Can you show this in Jquery code please??? 😆 😆 😆
@AdamKhoury
@AdamKhoury 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!
@Dexter101x
@Dexter101x Год назад
It originated from NSA, just saying, lol
Далее
Best KFC Homemade For My Son #cooking #shorts
00:58
Просмотров 12 млн
Simulating the Evolution of Rock, Paper, Scissors
15:00
Flutter Google Map With Live Location Tracking
9:08
Просмотров 259 тыс.
The Most Legendary Programmers Of All Time
11:49
Просмотров 535 тыс.
Find ANYONE's GPS Location Using IPLogger
10:20
Просмотров 423 тыс.
Google Maps JavaScript API Tutorial
27:27
Просмотров 1 млн
If __name__ == "__main__" for Python Developers
8:47
Просмотров 386 тыс.
How Ai Is About To Transform The World’s Economy
19:19