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 trial
Edward Daka
Courses Plus Student 244 PointsHow do you make your coordinates into a name of a city ?
I've got location figured out on the weather app course, but can't figure out how to get the correct city name ?
2 Answers
Jon Kussmann
Courses Plus Student 7,254 PointsHi Edward,
When you request the weather data from the Open Weather project using your coordinates, part of the JSON response may be the city it corresponds to. Have you checked that?
If not, another option would be to use the Google Maps API. I believe there is a teamtreehouse course that may give you an introduction to that, and that may help you.
Edward Daka
Courses Plus Student 244 PointsThanks ! I'll check those out