firebase / firebase/geofire-objc

queriesForRegion does not wrap regions

Open
#27 8 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.