firebase / firebase/geofire-objc
queriesForRegion does not wrap regions
Open
type: bug
- Dominant language
- Objective-C
- Stars
- 447
- Forks
- 183
- PR merge metrics
- No merged PRs in 30d
Description
I created a simple project with an MKMapView, a GeoFire query and an MKMapViewDelegate, which updates GeoFire query region every time UIMapView region changes. But that crash with an unhandled `Not a valid geo location` exception, but only valid regions where used.
The problem is that `queriesForRegion:region` is not wrapping locations when computing locations from regions. As a workaround I have to limit zoom on to MKMapView.
Contributor guide
Assessment
This issue has not been assessed yet.