Query does not return locations inside of greater locations
jasonc624 opened this issue · comments
Version info
Firebase:
"firebase-admin": "^9.4.2",
GeoFire:
"geofire-common": "^5.1.0",
Using in Firebase functions
Test case
Same boilerplate (https://firebase.google.com/docs/firestore/solutions/geoqueries#web)
Steps to reproduce
Search for address inside of the city of Orlando, FL
Payload:
{
geohash: "djn4k5jry7",
latitude: 28.5383355,
longitude: -81.3792365
}
Expected behavior
A item in the collection should show if the address is inside of the city of Orlando
Actual behavior
Returns an empty array.
Item hoping to be matched :
{
geohash: "djn443e5g3",
longitude: -81.4593543,
latitude: 28.4854555
}
Only returning exact matches.
Can you show:
- the code with which you write the item to GeoFire,
- the code for the query you execute?
With those we should be able to reproduce the issue you're having.
Going forward you might get more response to this type of problem by posting on Stack Overflow.