Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using FTGooglePlacesAPIRequestParamRankByDistance is not allowed #12

Open
ashvardanian opened this issue Apr 8, 2015 · 0 comments
Open

Comments

@ashvardanian
Copy link

When you set "rankBy" parameter to FTGooglePlacesAPIRequestParamRankByDistance "radius" value is not getting added to the request string. However, without that parameter Google API refuses to send data.
Please change 128-130 code lines in FTGooglePlacesAPINearbySearchRequest.m:

if (_rankBy != FTGooglePlacesAPIRequestParamRankByDistance) {
params[@"radius"] = [NSString stringWithFormat:@"%ld", (unsigned long)_radius];
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant