google-maps-documentation

QueryAutocompletionRequest interface

google.maps.places.QueryAutocompletionRequest interface

An QueryAutocompletion request to be sent to the QueryAutocompleteService.

Library

places

Properties
bounds
Bounds for prediction biasing. Predictions will be biased towards, but not restricted to, the given bounds. Both location and radius will be ignored if bounds is set.
input
Type:  string
The user entered input string.
location
Type:  LatLng optional
Location for prediction biasing. Predictions will be biased towards the given location and radius. Alternatively, bounds can be used.
offset
Type:  number optional
The character position in the input term at which the service uses text for predictions (the position of the cursor in the input field).
radius
Type:  number optional
The radius of the area used for prediction biasing. The radius is specified in meters, and must always be accompanied by a location property. Alternatively, bounds can be used.