Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capturing results outside of the search radius #38

Open
jabedamin opened this issue Jan 8, 2021 · 0 comments
Open

Capturing results outside of the search radius #38

jabedamin opened this issue Jan 8, 2021 · 0 comments

Comments

@jabedamin
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant