Skip to content

Commit

Permalink
Send the no_annotations parameter to OpenCage
Browse files Browse the repository at this point in the history
  • Loading branch information
robmathers committed Oct 17, 2019
1 parent 369aff3 commit 1ab9513
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WhereAmI/OpenCageAPI.m
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ - (void)sendGeoCodeRequestWithLatitude:(double)latitude
NSDictionary *URLParams = @{
@"key": [self apiKey],
@"q": [NSString stringWithFormat:@"%f,%f", latitude, longitude],
@"no_annotations": @"1"
};
URL = NSURLByAppendingQueryParameters(URL, URLParams);
NSMutableURLRequest* request = [NSMutableURLRequest requestWithURL:URL];
Expand Down

0 comments on commit 1ab9513

Please sign in to comment.