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

iOS

Personal Application Help

Currently I'm in the process of developing my own application. But, I need some help with one part.

Annotating the map to show numerous location pins without the use of Yahoo API or Foursquare API. I really don't want to use those guys but Parse is a definitely possibility.

What do you guys think? What is the best way to go about this?

Also, in the future a search bar would be implemented to search through all of these annotation pins.

2 Answers

if you are using a mapview you would need to subclass MKAnnotation, get the location data from parse etc, create the annotations (as your subclass of MKAnnotation), set the required properties for your annotations, then use mapview delegate methods to display them on the map.

Do you think you would have the time to help me with this, via email perhaps?

Hi Vikram,

you might want to have a look at About Location Services and Maps, especially the part Annotating Maps. Also Introduction to MapKit may be of help to you.

Kind Regards Holger