MapKit Video Tutorial: Sample Code and Slides

In Sep 2009 I presented a talk titled "Getting Oriented with MapKit" at 360iDev in Denver. It went over well and I made a video of the talk and put it on YouTube

I feel the video is a bit out of date now but people seem to find it useful and ask me for the slides and code so I've attached them to this post. Let me know if you find them useful and if there is something else you would like to see a tutorial on. Thanks.

Comments

Hello Julio,
Your slides makes me understand the MapKit Framework, I started to develop an ipad app based with this framework, but how can I load different views when tap the the UIButtonTypeDetailDisclosure button? using an array views?
Some of the code with modifications (alert view) . Thanks in advance and I hope you help me.

- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(UIControl *)control
{
UIAlertView *alert=[[UIAlertView alloc] initWithTitle:@"titulo" message:@"Test" delegate:nil cancelButtonTitle:@"Close" otherButtonTitles:nil];
[alert show];
[alert release];
//NSLog(@"I've been tapped");
}

A very professional ios, I'm surprised so realmnete professionalism.

Greetings from magentochile.cl

Boris

Nice code there.. It's very Usefull! I want to use it in a UITableView that push it in a DetailViewController. My tableview have Section so my plist looks like an array --> dictionary. I've tried the code how i fill my tableview
NSString *path = [[NSBundle mainBundle] pathForResource:@"City"
ofType:@"plist"];
NSDictionary *dict = [[NSDictionary alloc]
initWithContentsOfFile:path];
self.names = dict;
[dict release];

NSArray *array = [[names allKeys] sortedArrayUsingSelector:
@selector(compare:)];
self.keys = array;

Can you help me with this?

Thnx!

Nice code and nice work!

Hi, nice tutorial first.
Can you tell me how to zoom on the user location? Not for all the annotations but the user location zoom with your methods?

Thank you from Holland

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.