mardi 8 mai 2018

Google places autocomplete API returning not more than 5 search results in web

I have integrated Google places autocomplete API for locations search in my rails application. It's up and running but it returns only top 5 search results or less.

I need to display upto 10 results. Is there a way to increase the count?

API URL:- https://maps.googleapis.com/maps/api/place/autocomplete/json?input=google&key=GooglePlacesAPIKey

Note: From the google documentation they say that the API would return upto 5 results but not any info about how to change that.

Aucun commentaire:

Enregistrer un commentaire