Skip to content

Using FTGooglePlacesAPIRequestParamRankByDistance is not allowed #12

@ashvardanian

Description

@ashvardanian

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];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions