GooglePlaces Framework Reference
enum GMSPlaceSearchByTextRankPreference : NSInteger {}
How results will be ranked in the response.
-
Declaration
Objective-C
GMSPlaceSearchByTextRankPreferenceDistance
-
Declaration
Objective-C
GMSPlaceSearchByTextRankPreferenceRelevance
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-08 UTC.
[null,null,["Last updated 2024-11-08 UTC."],[[["`GMSPlaceSearchByTextRankPreference` is an enum used to specify how search results should be ordered."],["It offers two options for ranking: `GMSPlaceSearchByTextRankPreferenceDistance` which prioritizes results by distance, and `GMSPlaceSearchByTextRankPreferenceRelevance` which prioritizes results by their relevance to the search query."]]],[]]