Retrieves place autocomplete predictions based on the supplied autocomplete request.
The autocompletion request.
A callback accepting an array of AutocompletePrediction objects and a PlacesServiceStatus value as argument.
Retrieves query autocomplete predictions based on the supplied query autocomplete request.
The query autocompletion request.
A callback accepting an array of QueryAutocompletePrediction objects and a PlacesServiceStatus value as argument.
Generated using TypeDoc
Contains methods related to retrieving Autocomplete predictions.
Access by calling
const {AutocompleteService} = await google.maps.importLibrary("places")
. See https://developers.google.com/maps/documentation/javascript/libraries.