Find the nearest coordinates for given bounds
yulafezmesi opened this issue · 1 comments
yulafezmesi commented
How can I find the nearest coordinates by given bounds with existing functions?
I have got a center point that I want to fetch the nearest coordinates. orderByDistance
is sorting the distance but I would like to pass a distance parameter to get all coordinates based on the max distance. Is that possible?
Like this:
orderByDistance({ lat: query.center_lat, lng: query.center_lng }, maxDistance:10000);
Asinox commented
Wow, I'm want to know the same thing...