Search code examples
objective-cfirebasefirebase-realtime-databasegeofire

Difference between queryAtLocation and queryWithRegion?


I understand queryAtLocation queries locations within a certain radius but what is queryWithRegion? How does it differ from queryAtLocation?

https://github.com/firebase/geofire-objc


Solution

  • A location with a radius is represented as a circle, but a region with a span becomes a rectangle.