Contents

AutocompleteResult

An object that contains information you can use to suggest addresses and further refine search results.

Declaration

object AutocompleteResult

Properties

NameTypeDescription
completionUrlstring

The relative URI to the search endpoint to use to fetch more details pertaining to the result. If available, the framework encodes opaque data about the autocomplete result in the completion URL’s metadata parameter.

If clients need to fetch the search result in a certain language, they’re responsible for specifying the lang parameter in the request.

displayLines[string]

A JSON string array to use to create a long form of display text for the completion result.

locationLocation

A Location object that specifies the location of the result in terms of its latitude and longitude.

structuredAddressStructuredAddress

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.

See Also

Getting common object information