How to check if markers are present within radius of circle and how to enable only those marker which are present under the area of circle?
I used circle option to create circle on map on click of marker. I just want only those markers visible which are inside the circle.
$$mMap.setOnMarkerClickListener(new OnMarkerClickListener() {
@Override
public boolean onMarkerClick(Marker marker) {
CircleOptions circle = new CircleOptions();
circle.center(latLng).fillColor(Color.LTGRAY).radius(1000);
mMap.addCircle(circle);
// circle.`enter code here`
return true;
}
});