GMSPlaceSearchNearbyRankPreference
enum GMSPlaceSearchNearbyRankPreference : NSInteger {}How results will be ranked in the response.
-
(default) Sorts results based on their popularity.
Declaration
Swift
case popularity = 0Objective-C
GMSPlaceSearchNearbyRankPreferencePopularity -
Sorts results in ascending order by their distance from the specified location.
Declaration
Swift
case distance = 1Objective-C
GMSPlaceSearchNearbyRankPreferenceDistance