More than 20 results by pagination with Google Places API

前端 未结 2 1199
栀梦
栀梦 2020-12-19 12:24

Google\'s demo has this snippet to capture, by pagination, more than 20 results from place search:

    service.nearbySearch(request, resultList, function(sta         


        
2条回答
  •  轮回少年
    2020-12-19 13:17

    Use Radar Search to get more results at once. You can then call PlacesService.getDetails() for more details on each of those places.

提交回复
热议问题