We can easily create Routes between two places.
Here we have 6 main methods:
-(void)addAnnotationsToMapView-(NSArray*)getRoutePointFrom:(CLLocationCoordinate2D)origin to:(CLLocationCoordinate2D)destination-(NSMutableArray *)decodePolyLine:(NSMutableString *)encodedString-(void)drawRoute-(void)centerMap- (MKOverlayView*)mapView:(MKMapView*)theMapView viewForOverlay:(id <MKOverlay>)overlay
Take the code from below link:
Very informative post.I am really impressed by this incredible precious site .Nice blog! I loved reading through your blog. wish you good luck for your best efforts...
ReplyDeleteiPhone App Development