Im trying to cover a radius of, lets say 5 KM on the map. I have the coordinates of the middle of it.
I need a method to calculate and give me the coordinates of the points that are ON that circle.
Explanation:
(I need it to get coordinate points in a __Km radius from my server, If there's a better way to do that, please share. ty!)
I'll check whether if the coordinates are inside the circle or not like that:
(lan,lon) is a point.
if ((lat<x1 && lat>x2) && (lon<y1 && lon>y2))
then the point is inside the circle.
but then theres the problem that in some parts of the world it doesnt work...
Im confused. how do I make a radar?
(android app)
Thanks!