资 源 简 介
Aims to simplify the usage of Mapkit.
Copy every file in the Classes folder in your project, exepted RootViewController
Import OctoRoute.h
Your MKMapView now can answer to the following function :
-(void) addRouteFrom:(CLLocationCoordinate2D)startCoord to:(CLLocationCoordinate2D)endCoord zommed:(BOOL)shouldZoom;
You"ll still have to have your controller implements MKMapViewDelegate, especially the view:forOverlay: method.