Centering Google Map using address input widget

Hello, I was wondering if anyone could help me with code examples for the following request.

I was hoping to use the Address Input widget to control a google map so that the user could select a city near them, the map would then centre on that city - and our locations would show up within a set radius.

Essentially showing pins for that city.

Any ideas!

I asume this will be a long way, to achieve this function.
Using either HTML-Component, or a CUSTOM-ELEMENT.