Monday, 3 June 2013

Create Route on Map in IOS 6


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:

1 comment:

  1. 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...
    iPhone App Development

    ReplyDelete