From 4cbdfdc8e4d272fdf7e50621e200eaadeb0f650d Mon Sep 17 00:00:00 2001 From: Julio Turolla Date: Fri, 28 Mar 2014 15:01:42 -0300 Subject: [PATCH] Enabling ssl by default. --- SVGeocoder/SVGeocoder.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SVGeocoder/SVGeocoder.m b/SVGeocoder/SVGeocoder.m index d6e0550..bf34327 100644 --- a/SVGeocoder/SVGeocoder.m +++ b/SVGeocoder/SVGeocoder.m @@ -128,7 +128,7 @@ + (void)setGoogleMapsAPIKey:(NSString *)key { - (SVGeocoder*)initWithParameters:(NSMutableDictionary*)parameters completion:(SVGeocoderCompletionHandler)block { self = [super init]; self.operationCompletionBlock = block; - self.operationRequest = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"http://maps.googleapis.com/maps/api/geocode/json"]]; + self.operationRequest = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"https://maps.googleapis.com/maps/api/geocode/json"]]; [self.operationRequest setTimeoutInterval:kSVGeocoderTimeoutInterval]; [parameters setValue:@"true" forKey:@"sensor"];