Daily Archives: January 29, 2010

decode google maps PolyLines objective C

If you are working on Google maps API and using routes/directions this will help you decode route polylines works on MAC OS X and iPhone SDK -(NSMutableArray *)decodePolyLine: (NSMutableString *)encoded { [encoded replaceOccurrencesOfString:@"\\\\" withString:@"\\" options:NSLiteralSearch range:NSMakeRange(0, [encoded length])]; NSInteger len … Continue reading

Posted in Other | 4 Comments