android - How can i get points on map that are within a certain radius -


i'm using google maps api v2 android. once user opens page i'm getting current location , put marker there.

now i'd read list of locations db, find out ones in radius (user defined radius) , display markers points within range, how can that?

you might want check out location#distancebetween(...). calculate distance between user pointed , point in db. if distance less radius within range.


Comments