Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix crashes for google api changed.

  • Loading branch information...
commit d8929033c32e6662f92c9406483ee9b0b2dfcacd 1 parent 1d89c71
@kishikawakatsumi authored
View
4 Classes/UICGPolyline.m
@@ -24,8 +24,8 @@ - (id)initWithDictionaryRepresentation:(NSDictionary *)dictionary {
self = [super init];
if (self != nil) {
dictionaryRepresentation = [dictionary retain];
-
- vertices = [[dictionaryRepresentation objectForKey:@"k"] retain];
+
+ vertices = [[dictionaryRepresentation objectForKey:@"k"] ? [dictionaryRepresentation objectForKey:@"k"] : [dictionaryRepresentation objectForKey:@"g"] retain];
vertexCount = [vertices count];
routePoints = [NSMutableArray arrayWithCapacity:vertexCount];
for (NSDictionary *vertex in vertices) {
View
2  MapDirections.xcodeproj/project.pbxproj
@@ -409,7 +409,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
PREBINDING = NO;
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
- SDKROOT = iphoneos3.1.2;
+ SDKROOT = iphoneos3.1.3;
};
name = Release;
};
Please sign in to comment.
Something went wrong with that request. Please try again.