Autocomplete is a feature of the Places library in the Google Maps JavaScript API. You can use autocomplete to give your applications the type-ahead-search behavior of the Google Maps search field. When a user starts typing an address, autocomplete will fill in the rest.
GoogleAutocomplete adds a text input field to your web page, and monitors that field for character entries. As the user enters text, autocomplete returns place predictions in the form of a dropdown pick list. When the user selects a place from the list, information about the place is returned as a JSON string via the widget, and can be processed by your application as raw JSON or as a record.Autocompletion results can be constrin by Autocomplete types (geocode, address, establishment, regions, cities or all).For more info see https://developers.google.com/maps/documentation/javascript/places-autocomplete
GoogleAutocomplete