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.
In order to use autocomplete, you will need to load the Google Places library using the libraries
parameter in the bootstrap URL for the Google Maps JavaScript API.
Step 1
Step 2
Step 3
place_id
place_location
name
lname
address
street number
postcode
phone website
rating
Output: