Check if a latitude and longitude is within a circle
问题 See this illustration: What I would like to know is: How to create an area (circle) when given a latitude and longitude and the distance (10 kilometers) How to check (calculate) if a latitude and longitude is either inside or outside the area I would prefer if you can give me code example in Java or specifically for Android with Google Maps API V2 回答1: What you basically need, is the distance between two points on the map: float[] results = new float[1]; Location.distanceBetween