Geocoding for iPhone 3.0
While playing around with the iPhone 3.0 SDK beta, I found a glaring omission in Apple’s Maps SDK. The SDK has a class for reverse geocoding coordinates to corresponding addresses, it doesn’t allow for the reverse (geocoding). I would guess this has something to do with an agreement with Google, but it just seems like it should be there. So I wrote a class that uses the API provided by http://tinygeocoder.com, GMGeocoder.

It works almost exactly like the official MKReverseGeocoder, with similar delegates and structure. I also whipped up a quick sample application that runs in the iPhone simulator that takes addresses and puts them on an MKMapView. As always, comments and improvements are welcome. Go out and make wonderful apps.
Posted Under: development
Leave a 4 comments, or see other articles by Garrett Moon
This is outstanding. One more bullet in the gun to fire at WTA for developing their outdated route maps to employ the Partner Program… and provide an iPhone site! No excuses now, thanks!
Thanks for using Tiny Geocoder. I appreciate it. I hope it works well for anyone who uses it.
Cheers!
Pretty nice post. I just came across your blog and wanted to say
that I’ve really enjoyed browsing your blog posts. Any way
I’ll be subscribing to your feed and I hope you post again soon!
And in another note, I plan on storing other useful code here: http://code.google.com/p/garrettscode/