How can I use autocomplete in proform - API Google

I’m creating a form and I need to capture the latitude and longitude of the user’s address, my idea is to have a text field in the form to enter the address and at the moment the address is being typed, bricksforge will be searching for a list of addresses using the google maps platform.

Given the above scenario, how can I create this business rule using bricksforge components?

You can set an event listener of your address field then call Google’s Geolocation API. There’s a similar example at google maps - Javascript geocoding from address to latitude and longitude numbers not working - Stack Overflow

Regards
Pete