Thank so much for your help. I was wondering for your next video if you could show us how to integrate a future daily or hourly forecast of the city. :)
Hi I am looking something to get geolocation of the user to create a region pop-up and redirection. and As a user when landing on a page that is outside my region, I would like to be notified that I am on a page outside my region.I am not looking for paid API. I am looking for something native code using javascript
There are many alternatives that use the user's IP for geolocation although they might not be as accurate. One such example is GeoPlugin: making a request to "www.geoplugin.net/json.gp" should return an object containing the user's city. You can find many more similar APIs at github.com/public-apis/public-apis. You can do a find-in-page for "IP geolocation."
I found an alternate solution, just wanted to display the location so: var location=data.results[0].formatted; var message="Location: "; document.getElementById("loc").innerHTML = msg+location;
Hi Bharati. Can you help me with your github code link .I am looking something to get geo location of the user t create region pop up and redirection. and As a user when landing on a page that is outside my region, I would like to be notified that I am on a page outside my region.I am not looking for paid API. I am looking for something native code using javascript
Thanks, this API for reverse geolocalization is amazing, i was recently looking for something like that
Simple and on point!
Thanks!
thanks......Love from India
Thank you so much!
This is fire ! Thank You!
Thank so much for your help. I was wondering for your next video if you could show us how to integrate a future daily or hourly forecast of the city. :)
thanks, that was great
Do you know how to change the celsius to farenheight?
openweathermap.org/current
"For temperature in Fahrenheit use units=imperial For temperature in Celsius use units=metric"
Idk how to code but will keep in mind
You are really smart
Hi I am looking something to get geolocation of the user to create a region pop-up and redirection. and As a user when landing on a page that is outside my region, I would like to be notified that I am on a page outside my region.I am not looking for paid API. I am looking for something native code using javascript
it seems like getting current location doesn't work any more due to some change on Chrome. Could you suggest any alternative?
There are many alternatives that use the user's IP for geolocation although they might not be as accurate.
One such example is GeoPlugin: making a request to "www.geoplugin.net/json.gp" should return an object containing the user's city.
You can find many more similar APIs at github.com/public-apis/public-apis. You can do a find-in-page for "IP geolocation."
@@DevProTips are these free? or is there a limited user
hey i am unable to authoroze to the api key can uh help me out
the code isnt working it is showing error as unauthorized
plzz can uh help me buddy
It worked. Thank you. But can you please tell me how can I access this location outside of the function? I couldn't find any solution.
I found an alternate solution, just wanted to display the location so:
var location=data.results[0].formatted;
var message="Location: ";
document.getElementById("loc").innerHTML = msg+location;
Hi Bharati. Can you help me with your github code link .I am looking something to get geo location of the user t create region pop up and redirection. and As a user when landing on a page that is outside my region, I would like to be notified that I am on a page outside my region.I am not looking for paid API. I am looking for something native code using javascript
great great great job
Bro, source code
Bro ur video is good
But when ur doing something or u gonna teach something start from starch
No fucking way.....