AutocompleteResult
An object that contains information you can use to suggest addresses and further refine search results.
Declaration
object AutocompleteResultProperties
| Name | Type | Description |
|---|---|---|
completionUrl | string | The relative URI to the If clients need to fetch the search result in a certain language, they’re responsible for specifying the |
displayLines | [string] | A JSON string array to use to create a long form of display text for the completion result. |
location | Location | A Location object that specifies the location of the result in terms of its latitude and longitude. |
structuredAddress | StructuredAddress | A StructuredAddress object that describes the detailed address components of a place. |
Discussion
If available, the service encodes opaque data about the autocomplete result in the completion URL’s metadata parameter. If you need to fetch the search result in a certain language, you need to specify it in the lang parameter in the request.