如何从google.maps.places.Autocomplete获得超过5个结果?

Sal*_*V S 5 android google-maps autocomplete

在我的应用程序中,我正在显示google.maps.places.Autocomplete视图,该视图集成在Web视图的html页面中。在上面键入时,我仅获得5个下拉结果。如何增加搜索结果?有人请帮忙..

Rav*_*avi 5

从文档:

JSON 响应包含两个根元素:

“状态”包含请求的元数据。请参阅下面的状态代码。

“预测”包含一系列地点,以及有关该地点的信息。Places API 最多返回 5 个结果。

来源:https : //developers.google.com/maps/documentation/places/web-service/autocomplete#place_autocomplete_responses