Skip to content

Instantly share code, notes, and snippets.

@Muximize
Muximize / MKPolyline+GMEncodedString.h
Created September 23, 2012 12:15
A category on MKPolyline adding a class method to create a new MKPolyline from a Google Maps Directions API encoded polyline string. See https://developers.google.com/maps/documentation/utilities/polylinealgorithm
#import <MapKit/MapKit.h>
@interface MKPolyline (GMEncodedString)
+ (MKPolyline *)polylineWithGMEncodedString:(NSString *)encodedString;
@end