Closed jasonc624 closed 3 years ago
Firebase: "firebase-admin": "^9.4.2",
GeoFire: "geofire-common": "^5.1.0",
Using in Firebase functions
Same boilerplate (https://firebase.google.com/docs/firestore/solutions/geoqueries#web)
Search for address inside of the city of Orlando, FL
Payload: { geohash: "djn4k5jry7", latitude: 28.5383355, longitude: -81.3792365 }
A item in the collection should show if the address is inside of the city of Orlando
Returns an empty array.
Item hoping to be matched : { geohash: "djn443e5g3", longitude: -81.4593543, latitude: 28.4854555 }
Only returning exact matches.
Can you show:
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.
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.