GooglePlaces Framework Reference

  • GMSPlaceSearchNearbyRankPreference is an enum used to specify how results will be ranked in a Place Search.

  • It has two possible values: popularity (default), which sorts results by their popularity, and distance, which sorts results by their distance from the specified location.

GMSPlaceSearchNearbyRankPreference

enum GMSPlaceSearchNearbyRankPreference : NSInteger {}

How results will be ranked in the response.