I am trying to write a web application for my final year project at uni, and one of the first problems i need to tackle is getting an auto complete text box for local addres
It is currently not possible to restrict results to a specific locality except for using bounds as you have done so above. This however, only biases results towards, but not restricted to places contained within the specified bounds.
If you believe result by locality would be a useful feature please file a Places API - Feature Request.
As you mentioned, if you type ,Bodmin
at the end of your query it is more likely to return local results. A temporary solution might be to use the AutocompleteService and append ,Bodmin
to the end of the getPlacePredictions()
requests input parameter.