Reputation: 769
I'm working with Google Places API which gives the auto suggestions from the keyword mentioned in AutoCompleteTextView. Its working fine.
But when i enter some keyword(some text in the AutoCompleteTextView) it was giving the places according to the Current Location. but i need the places from the United States
Using the following Url to get the places
https://maps.googleapis.com/maps/api/place/autocomplete/json?input=?&types=geocode&sensor=false&AIzaSyAIjrt28Os8Eyp0rVQbdkKNXNi5YrGx0AE
Example
Please can i get any luck
Thank you
Upvotes: 1
Views: 1500
Reputation: 5524
Refering to this article you can pass a location and a radius as parameter to your query which should be a solution to your problem. As location you could pass the middle of the United States and a radius that fits to all borders.
Taking this similar question into consideration this seems to be impossible other than the way I described it.
Upvotes: 0