How do I get markers near the user's location? [closed]

0

Good evening

Who knows the Tinder application knows that a map is not shown, but knows that it takes the location of the user and uses it to look for people who are nearby within a certain radius. I would like to do the same thing in my Android application, I looked for old posts in Stackoverflow and the internet about it but I did not find any answers.

EDIT

In the Google Maps API for Android or in the documentation of the same there is some native resource as this exists in the Google Maps API for JavaScript or the developer will have to perform a select and calculation for the solution?

Thank you in advance.

    
asked by anonymous 10.09.2015 / 04:39

1 answer

1

I am studying the same problem at the moment and found this paper:

Finding Points Within a Distance of Latitude / Longitude Using Bounding Coordinates - By Jan Philip Matuschek

It addresses the problem of finding geographic points that are within a certain distance (radius) of a particular geographic point.

It already has an implementation in Java that is a hand in the wheel, but it is not a trivial problem and requires a bit of math.

    
10.09.2015 / 16:10