Open G-Steve-E opened 4 years ago
@G-Steve-E I'm also facing same issue
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.
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