Reputation: 1333
I am unable to find out a way that google.maps.places.Autocomplete only finds street names depending on the city of the user.
For example if a user opens the website from "Frankfurt" and starts to type any street name the Autocomplete should only search street name from frankfurt.
Upvotes: 1
Views: 901
Reputation: 6921
You can set the radius or bounds for your autocomplete, you might figure out the radius or bounds based on a users' current or default location.
For more information, please refer to the google.maps.places.AutocompletionRequest object specification reference.
Upvotes: 1