New in 3.0 Map Kit works with the Google Mobile Maps Service and features panning and zooming, custom annotations, current location and geocoding. This new framework opens up many new possibilities programs not previously possible. Come learn everything you need to know to get started as well as some tips and tricks to speed your programming along.
28. MKPlacemark
• Address info including, country code,
country, postal code, administrative area,
sub administrative area, locality, sub locality,
thoroughfare, sub thoroughfare
• Conforms to MKAnnotation
• Has address dictionary with Address Book
keys
29. Number of pins
• Try to limit
annotations to ~100(?)
• Implement region
change delegate
methods
• Create and manage
your own clusters
30. Challenges
• Anchoring an object to a location on the
map and having it scale.
• Shapes - neighborhoods
• Lines - routes / paths
• View space to Geo Space
- (CGPoint)convertCoordinate:(CLLocationCoordinate2D)
coordinate toPointToView:(UIView *)view
- (CLLocationCoordinate2D)convertPoint:(CGPoint)point
toCoordinateFromView:(UIView *)view
31. Legal limitations
I’m not a lawyer but think carefully before
using this for:
vehicle/fleet tracking
routing
cacheing tiles
geocoding / mass reverse geocoding
Read the TOS
http://code.google.com/apis/maps/iphone/
terms.html
32. Possible Options
• OpenStreetMap.org (OSM) - map/tile data
• Route-Me - OSS map view
• Cloudemade.com - services around OSM
• geocoder.us (among others)
33. Resources
• MapKit Framework Reference - Apple
• Using Map Kit with Bill Dudney - PragProg
• Using Map Kit ... Bill Dudney - Wednesday