We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
This might be a simple question but I'm having a hard time trying to figure out how to do this.
I'm developing an iOS app which transmits user's last known location periodically. My Firebase setup looks like this.
It has a users collection. Each user has the aforementioned last location coordinate.
users
What I'm trying to do now is, given a location and a radius, fetch the set of users who fall within that radius.
I know I can initiate a query like this.
let circleQuery = geoFirestore.query(withCenter: center, radius: 10)
But not sure what to do after that. How do I get the results from this query?
The text was updated successfully, but these errors were encountered:
Look answer hear - https://stackoverflow.com/questions/46630507/how-to-run-a-geo-nearby-query-with-firestore
Sorry, something went wrong.
No branches or pull requests
Hello,
This might be a simple question but I'm having a hard time trying to figure out how to do this.
I'm developing an iOS app which transmits user's last known location periodically. My Firebase setup looks like this.
It has a
users
collection. Each user has the aforementioned last location coordinate.What I'm trying to do now is, given a location and a radius, fetch the set of users who fall within that radius.
I know I can initiate a query like this.
But not sure what to do after that. How do I get the results from this query?
The text was updated successfully, but these errors were encountered: