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
Susanna Remec
12,316 PointsGoing further with the Swift weather app?
Hi there, I am building out from the base Stormy code and I would like to put a weather map into my app. Anybody know how? I've looked at Mapbox and Open WeatherMap and both have api's to use and the NSURLSession call should work the same as for Forecast.io...but I don't know how to put a map together. Any suggestions are welcome. Thanks
1 Answer
Sebastien Thomas
16,502 PointsHi Susanna,
You will need to import MapKit and use a MapKitView with its delegate methods.
Hope this helps
Susanna Remec
12,316 PointsSusanna Remec
12,316 PointsThank you Sebastien! I am looking into building a custom overlay with precipitation intensity as color bands and adding it to a map. DarkSky has a cool look that I'm trying to figure out how to emulate. I've been playing with MapBox, GoogleMaps and OpenWeatherMap but I have to use their map...maybe there is a way to do it using Apple's own MapKit Views. I need to study the docs...