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

标签 android google-maps autocomplete

在我的应用程序中,我在 web View 中显示集成在 html 页面中的 google.maps.places.Autocomplete View 。在上面打字时,我只得到 5 个下拉结果。如何增加搜索结果?任何人请帮助..

最佳答案

来自文档:

A JSON response contains two root elements:

"status" contains metadata on the request. See Status Codes below.

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

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

关于android - 如何从 google.maps.places.Autocomplete 获得超过 5 个结果?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31761124/

相关文章:

Android 删除 fragment

android - 复选框未勾选

javascript - 指定 Google map 标记的 z-index

visual-studio - 在 F# 中键入字符后,Visual Studio 2017 启用完成

android - android.view.InflateException :Binary XML file line #223: Binary XML file line #223: Error inflating class

android - 直接从 .apk 文件下载 Android 应用程序

javascript - 使谷歌地图 iframe 嵌入响应的快速简便的方法

ios - 如何在谷歌地图中拖动标记

c# - AjaxControlToolkit 自动完成字典

php - jqueryui自动完成限制多项选择