Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDon Macarthur
28,430 PointsHelp With Open Weather Map API
Hi guys,
I'm having major problems with a project site I've built using the Open Weather Map API and need some help.
I'm trying to get the site to display weather data based on user's location.
My site works fine locally, but the live site won't load my XMLHttpRequest as I keep getting error messages saying 'getCurrentPosition()' has been deprecated.
I've searched for ages on how to get around this but I can't seem to find a solution.
Has anyone had a similar problem? Or know of a way around it?
My GitHub repo is at:- https://github.com/Donatron/local_weather
And the live site is www.howstheweather.com.au
Thanks in advance for any help. Don :-)