getNearbyPlaces with rankby
Closed this issue · 3 comments
faizandedia commented
Hey Thanks for the library!
Can you add the function to getNearbyPlaces with rankby. Right now is with radius. I want to show the results based on ranking.
trying to create the subclass but due to buildUrl is private method unable to do that. I am using jar file
Thanks
EpicDraws commented
This would be great. I find the current results to be in a somewhat random order.
windy1 commented
@faizandedia You wouldn't want to make a subclass, you would want to make another method signature in GooglePlaces for retrieving results by rankby.
@EpicDraws It's not in a random order it's actually sorted in order of distance.
See: https://developers.google.com/places/documentation/search#PlaceSearchRequests
windy1 commented
@faizandedia @EpicDraws Implemented in 072e9eb