How to help users disambiguate between similar results
The Suggest API enables you to create queries for places or categories of results. The results are sorted for more likely to less likely matches. Information is provided for each result which helps you quickly identify the correct match, particularly with regard to the Title and Label fields.
Potential use cases
-
Display the result options: You can select the option that best suits your needs.
Examples
The Title field is usually enough information for you to understand when the result is what was intended. For cases where the title doesn't provide enough information, the Label field is used to add address information context to the result. The Label field can be provided as a second line of information which is de-emphasized from the main text when the results are rendered for you. In the example below, two similar results are provided and the address of the hotel can help you select the one that is more applicable to your needs. Additionally, position is provided so the results can be rendered on a map as an alternate way for you to select between results.