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

Unable to query by geolocation #62

Closed
dilipd636 opened this issue Sep 15, 2020 · 2 comments
Closed

Unable to query by geolocation #62

dilipd636 opened this issue Sep 15, 2020 · 2 comments

Comments

@dilipd636
Copy link

I want to fetch records using geolocation. is there any way to query using geolocation. please help me to resolve this issue.

@jeromegamez
Copy link
Member

jeromegamez commented Sep 15, 2020

The SDK has no out-of-the-box support for Geo Queries, it only provides a bridge to the official google/cloud-firestore library. I don't know if Google's library has native support for them either.

Unfortunately I haven't worked with GeoPoints in Firestore yet, so I can't help you further.

Perhaps this Stack Overflow Link can give you a hint to the right direction: https://stackoverflow.com/questions/58791529/read-the-firestore-geopoint-object-in-php

Also, if you Search Gooogle for "GeoFire", you'll find implementations for GeoQueries, mostly for other programming languages, but perhaps you'll find something that can help.

I appreciate if you share your findings in further comments, so that others facing the same challenge can benefit from them 🤞🙏

@MI-Soft
Copy link

MI-Soft commented Jul 2, 2022

is there any solution for this issue?

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

3 participants