With new maps on the way, I’ve noticed an increase in users searching for Map Kit tutorials and information. Apple loves to promote apps using their new functionality so if you’ve got an idea that utilizes Map Kit now might be the time to start working on it.
Today I came across a new library that extends Map Kit adding some block based callbacks.
Here’s a few examples from the Github page displaying the added methods demonstrating how easy callbacks are with this library:
[[[UIAlertView alloc] initWithTitle:@"Changed Region" message:nil delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] show];
}];
[[[UIAlertView alloc] initWithTitle:@"Changed Center Coordinate" message:nil delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] show];
}];
[[[UIAlertView alloc] initWithTitle:@"Changed Map Rect" message:nil delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] show];
}];
And as stated on the Github page:
Yes, you can nest them. And, also yes, if you invoke these methods when the user is scrolling, IRMapView is polite enough to animate only after the user has finished scrolling.
You can find the library IRMapView from Evadne Wu on Github here, and a sample project can be found here.
An excellent library for anyone working with Map Kit.
©2012 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.
.




