CyberJunkie
CyberJunkie

Reputation: 22674

Google Maps api not returning all places within bounds

I'm searching for places by keyword within bounds:

bounds = new google.maps.LatLngBounds(
    new google.maps.LatLng(25.87965228677778, -80.1950336785298),
    new google.maps.LatLng(25.995437713222234, -80.09846764294042)
);

In this example I'm searching "hair stylist" http://jsfiddle.net/9Fqjn/2/

And here I'm doing the same search in the official Google maps - link

You'll see that Google Maps returns more results. Why am I not getting all the places in my own map?

Upvotes: 0

Views: 353

Answers (1)

CyberJunkie
CyberJunkie

Reputation: 22674

I just found out that by default, each Place search returns up to 20 establishment results per query. Pagination is required for more places.

Upvotes: 3

Related Questions