I am using:
geoQuery = geoFirestore.query(withCenter: location, radius: distance)
where 'distance' is taking a value from UI slided. I have checked the coordinates to validate distance between a test user 1 and test user 2 to be 24km roughly. But the other user still appears in the results even when I reduce the radius below 24km. All of the way until I reduce it to 8 km.
It seems like the center point to radius for whatever reason is not being calculated correctly between these points.
Any advice on this?
Where in the GeoFirestore framework is this method defined?