Getting Current Location in Javascript
HTML-код
- Опубликовано: 12 сен 2024
- Hey Everyone, In this video, we will learn how to get the user's current location.
Weather API: www.weatherapi...
Connect With Me: bio.link/piyus...
My Gears
► My Girlfriend: amzn.to/3WD6FRp
► Apple MacBook Laptop: amzn.to/3WBJgQn
► Blue Yeti Microphone: amzn.to/3YKZ9FT
► External 27” Monitor: amzn.to/3Vp3xaO
► Logitech MK295 Wireless Keyboard and Mouse: amzn.to/3DuL1bB
► Seagate Expansion 1TB External HDD: amzn.to/3QMm5Q8
► Tripod: amzn.to/3S4OwK4
► Ring Light: amzn.to/3YLf8DR
Disclaimer: All the links above are affiliate links.
More Playlists
► Complete ReactJS Tutorial Series - • Complete React Tutoria...
► Complete Firebase & React Tutorial Series - • Firebase with Reactjs ...
Social Links
► Twitter - / piyushgarg_dev
► LinkedIn - / piyushgarg195
Video Titles
What is Javascript?
What is Promise?
Async in Javascript
Await in Javascript
API Calling in Javascript
Hashtags
#javascript #fullstackdevelopers #javascriptinhindi #frontenddeveloper #frontend #js #webdevelopment #webdesign #webdev #api #apicall
Correction - We are using callbacks in navigator get user location, so there is no need for the handler function to be async. Sorry I forgot to mention this in video.
donkey
Bro I am not getting my location instead I am getting my ISP location How can I resolve it
@@Tech24_07 same here bro did you find any solution?
@@jaydipprajapati3590 Not yet bro 😅
Brother u will soon reach million views...your way of explanation is awesome and thank you ❤
more power to your consistency bbhaiya ek number
Thanks Bro :)
Hi sir I'm from mirzapur your explanation is very good
Can you please tell me why you have make the function async?
Yes you are correct, we are using callbacks for response so no need for async function. I have made a pinned comment for that. Thanks 😀
@@piyushgargdev i like how you accept your mistake, wishing you luck and growth 🤗
great! thanks.
what if i want to show my longitude and latitude on the body part or on the website when I clicking the get location. by any chance
How to set the geolocation in order to test different scenarios for different countries
Sir wont this code track users live location??
Bhaiya VS Code theme konsi he btado?
Sir please post weather app complete video
Can't get ur previous video
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
Same problem, please anyone help to solve this problem
@@ScrollWithPodcast24 Permission for location is only asked once, so after clicking on the button, just check whether you have given permission or not. If you have denied it then click on to "continue allowing this site to access your location"
yeh yt channel meko pehle kyu ni aaya suggestion m 🤧
What if user deny?
Sir please upload source code files of this playlist it would help me learn faster .
How can a source code make you learn faster
Can't find previous video
check the playlist section .you will get ultimate JavaScript course playlist.
sir yeh exact location share nahi karta hai
Same here did you got any solution
@@jaydipprajapati3590 google apis
Azeeb Bakchodi hai. Jab Permission hi leke Location janni hai to Google maps ka use kar lena jyada Sahi hai
How to set the geolocation in order to test different scenarios for different countries