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
Julio Barros E-String.com
29. Number of pins
• Try to limit
annotations to ~100(?)
• Implement region
change delegate
methods
• Create and manage
your own clusters
Julio Barros E-String.com
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
Julio Barros E-String.com
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 Julio Barros E-String.com
32. Possible Options
• OpenStreetMap.org (OSM) - map/tile data
• Route-Me - OSS map view
• Cloudemade.com - services around OSM
• geocoder.us (among others)
Julio Barros E-String.com
33. Resources
• MapKit Framework Reference - Apple
• Using Map Kit with Bill Dudney - PragProg
• Using Map Kit ... Bill Dudney - Wednesday
Julio Barros E-String.com