Google Autocomplete

Implement a search bar with autocomplete functionality that matches places catalogued by Google

Autocomplete is used in various apps for finding locations on a map . E.g. We use autocomplete in Uber to find our destination, to find a place on Google Maps etc.

Capacitor Full App implements autocomplete using AGM - Angular google Maps.

Import the MapsAPILoader with

Autocomplete can be simply implemented using

Once a place is selected from the list, place variable in the above function return a response as shown below. You can choose formatted_address for all general purposes.

Last updated

Was this helpful?