Google Places Location Query Setlimit(>20) only returns 20 results regardless
started a topic
over 6 years ago
I've got the Google Places functionality working pretty well, the only thing that has not been working too well is the fact that when my entity gets filled by my query it returns only 20 results, even if I set Query.Setlimit(100) and Query.setSkip(0)
Android Studio 0.6.1
Here is a code snippet.
Query qry = new Query(new MongoQueryFilter.MongoQueryFilterBuilder());
This looks like it is a limitation of the google places API although after searching a bit it seems they have finally added a workaround. Check out this post on stack overflow: http://stackoverflow.com/questions/9614258/how-to-get-20-result-from-google-places-api
I'll have to do some more investigation but can you try passing through that recommended flag as a query parameter? You should be able to overload the `equals()` method on the query builder, but I have not yet tested with the google places API.
about 6 years ago
Hey @Edward - Thanks, will check it out and comment/accept answer accordingly