I am using the Google Map JavaScript Api. I want to restrict the autocomplete search results to the areas and places of a specific city.
I tried to find this on Google as well as on Stackoverflow but could not get the answer.
How can I achieve this?
The link for fetching the api I am using is as follows
<script src="https://maps.googleapis.com/maps/api/js?key=API_KEY&libraries=places&callback=initAutocomplete"
async defer></script>
any help would be precious!!