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

GeoFire Circle Query NSException #129

Open
G-Steve-E opened this issue Nov 16, 2019 · 2 comments
Open

GeoFire Circle Query NSException #129

G-Steve-E opened this issue Nov 16, 2019 · 2 comments

Comments

@G-Steve-E
Copy link

When using GeoFire circle query in Swift with GeoFire 3.0 cocoapod, query aborts with NSException with radius of 8000 Km (4791 MI)
Xcode debugger shows latitude of 105.9793939... and longitude of -112.05707936...
Radius is derived from user pan/zoom of map - i.e. user zooms out on map to display the entire world on the map. Firebase database contains locations all over the world and app is attempting to display markers. Seems like the GeoHash routine should restrict the latitude at +/- 90 and the longitude at +/- 180 and in that case all GeoFire data should be returned from the Query.
GeoFire issue.pdf

@vaibhav-jhaveri-ds
Copy link

@G-Steve-E I'm also facing same issue

@G-Steve-E
Copy link
Author

For now I have abandoned using GeoFire. It's a shame as this seemed like a good approach for us. I'm still researching how to solve this issue and deliver good performance. If you have any suggestions, please post.

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

2 participants