How to get more than 5 results from google.maps.places.Autocomplete?

In my application, I am displaying google.maps.places.Autocomplete view integrated into an html page in a webview. I only get 5 dropdown results when I enter text. How do I increase my search results? Someone please help ..

+3


source to share


1 answer


From the documentation:

The JSON response contains two root elements:

"status" contains the metadata in the request. See below for status code.

"predictions" contains an array of locations, with information about the location. The Places API returns up to 5 results.



Source: https://developers.google.com/places/documentation/autocomplete

+3


source







All Articles