I added a pagination, but now it shows 20 places then waits 2s, shows another 20 places and waits again couple sec. I read that Google adds a delay in between nextPage calls. I wounder if there is a way to remove that delay and show 60 places all in once
this.service.search(request, function(results, status, pagination) {
self.addPlaces(results, status, pagination);
if (pagination.hasNextPage) {
// sleep:0; this doesn't effect anything
pagination.nextPage();
}
});