gpt4 book ai didi

javascript - 使用 Google Maps API 得到的结果超过 20 条?

转载 作者:行者123 更新时间:2023-11-28 02:30:49 28 4
gpt4 key购买 nike

Possible Duplicate:
Get maximum (more than 20) results in Google map API

我需要 google map 文本搜索功能的 20 多个结果。现在我想知道最大的结果以及如何获得超过20个结果?

最佳答案

By default, each Place search returns up to 20 establishment results per query; however, each search can return as many as 60 results, split across three pages. Additional pages are available via the PlaceSearchPagination object. In order to access additional pages you must capture the PlaceSearchPagination object via a callback function.

更多信息请点击这里: https://developers.google.com/maps/documentation/javascript/places#PlaceSearchPaging

关于javascript - 使用 Google Maps API 得到的结果超过 20 条?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14198323/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com