Тёмный

Using the Geolocation API - JavaScript Tutorial 

dcode
Подписаться 133 тыс.
Просмотров 70 тыс.
50% 1

In today's video I'll be taking you through how to use the Geolocation API in JavaScript, which provides your users with a means to send their geographical location to your website or application.
Support me on Patreon:
/ dcode - with enough funding I plan to develop a website of some sort with a new developer experience!
For your reference, check this out:
developer.mozilla.org/en-US/d...
Follow me on Twitter @dcodeyt!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

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

 

23 мар 2020

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@matthewguillen2823
@matthewguillen2823 2 года назад
Dude you’re one of the best explainers I have seen on RU-vid I love your content I just found it liked it and subscribe subscribed
@DmitriGoncharov
@DmitriGoncharov 3 года назад
Thank you! Your way of explaining things is superb!
@theartist8835
@theartist8835 3 года назад
I really appreciate your efforts . keep up the great work . love you man !
@dcode-software
@dcode-software 3 года назад
Thanks mate, appreciate it!
@shiruiren5153
@shiruiren5153 3 года назад
Nice tutorial! Just about to make a brief presentation and this helped a lot! Appreciated bro!
@ConsulthinkProgrammer
@ConsulthinkProgrammer 3 года назад
Nice. I found that we even can use this method and and send that latitude, longitude, and address data to google sheets.
@malavshah5437
@malavshah5437 3 года назад
Thanks buddy it worked for me ! ;)
@anasnourallah6319
@anasnourallah6319 3 года назад
Watched the very same tutorial which helped me in building a weather application. I am trying to integrate a pre-loading page every time the user clicks on the location icon. Since I am unable to retrieve the pop-up content, is there any way to disable it through JavaScript? Or is there a method in retrieving the pop-up content so that I can use the event listener with the pop-up buttons?
@Hangoutapp
@Hangoutapp 3 года назад
Nice job Dom. It help
@Tyn_46
@Tyn_46 Месяц назад
Thank you for this great tutorial!
@avshalomtam3964
@avshalomtam3964 3 года назад
great explanation! tnx
@muhammedcansoy6131
@muhammedcansoy6131 Год назад
excellent explanation
@Corythehausbaus
@Corythehausbaus 3 года назад
how would i check if the user llives in England for example
@bobbybrand879
@bobbybrand879 3 года назад
This doesn't work for me. What's the top of your code? I have a SSL certificate and API token but getting 404 error sucessCallback is not defined
@ixlosbek_erkinov
@ixlosbek_erkinov 4 года назад
HELLO HEARD OF IPSTACK I NEED USER'S IP ADDRESS AND FOR THAT I WANT TO DIRECT THEM BY THEIR IP LOCATION CONTINENT OF COURSE THEIR OWN LANGUAGE BECAUSE MY WEB 'S LANGUAGE IS NOT ONLY ENGLISH ... CAN You Do crash video about that Thank ;)
@maulanaakhmadyarief7844
@maulanaakhmadyarief7844 2 года назад
i getting error "only secure origins are allowed geolocation" on mobile but work fine in desktop, how to solve this?
@deepkar9794
@deepkar9794 Год назад
Thank you so much sir. So much love from india 🇮🇳❤
@hanibioud
@hanibioud 2 года назад
How to get the city and province using this informations?
@lifeonloop_vlogs
@lifeonloop_vlogs Год назад
I'm getting Totally wrong position (Accuracy more than 200 KM+) while using Geolocation API through wifi but getting currect location on mobile data.
@AbhishekSharma-fg1ho
@AbhishekSharma-fg1ho 9 месяцев назад
3:40 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
@asilhome
@asilhome 4 года назад
Hi, great tutorial! How about getting location / place name? Thanks!
@dcode-software
@dcode-software 4 года назад
Hey, you'll need to use a reverse geocode service for that :)
@sankalpnaik877
@sankalpnaik877 2 года назад
@@dcode-software can you plz help us with that
@codeswithankit4316
@codeswithankit4316 4 года назад
Its a great one
@dcode-software
@dcode-software 4 года назад
Not bad
@tasteful7364
@tasteful7364 4 года назад
can we disable the prompt and force allow the browser to share the location ???,,, just curious...
@Anto-xh5vn
@Anto-xh5vn 2 года назад
Probably not
@libnerrr
@libnerrr 3 года назад
what keyboard is this? i like the sound:)
@m_mike7710
@m_mike7710 4 года назад
I love your tutorial but how do I get the API?
@mdhossen7082
@mdhossen7082 2 года назад
How to control device Light javascript
@hailedagmawi8109
@hailedagmawi8109 Год назад
thank you
@kanatkudaibergenov564
@kanatkudaibergenov564 2 года назад
How many km had user walked?
@drasshtipatel
@drasshtipatel 3 года назад
can we use this method in website too?(I am building website)
@melialeval
@melialeval 3 года назад
He just did it in a website
@patrikiosvatemanopoulos
@patrikiosvatemanopoulos 2 года назад
What vs code theme is this?
@dcode-software
@dcode-software 2 года назад
It's my own theme, called dcode
@patrikiosvatemanopoulos
@patrikiosvatemanopoulos 2 года назад
@@dcode-software It looks great!
@sparky7182
@sparky7182 2 года назад
What is maximumage?
Далее
Using the History API - JavaScript Tutorial
16:40
Просмотров 31 тыс.
Get users location with Javascript geolocation
13:54
Просмотров 56 тыс.
Get Live User Location - HTML5 Geolocation Tutorial
15:27
Geolocation
4:14
Просмотров 45 тыс.
JavaScript Geolocation API
23:51
Просмотров 2,8 тыс.
Why Signals Are Better Than React Hooks
16:30
Просмотров 462 тыс.
10 Fun API's for Developers | Ideas for Projects
10:50
Просмотров 144 тыс.
GPS App in JavaScript (no API)
16:17
Просмотров 5 тыс.
100+ Web Development Things you Should Know
13:18
Просмотров 1,4 млн