Open ravivit9 opened 7 years ago
This issue is similar to the ticket https://github.com/firebase/geofire-js/issues/80 .
GeoQuery returning near by records from firebase geofire directory after setting the radius of a large area.
Firebase: "^4.3.0"
GeoFire: "^4.1.2" Other (e.g. Node, browser, operating system) (if applicable): Mac / Chrome npm 5.2.0
GeoQuery must return all records within the radius specified.
Set smaller radius with records in firebase and the Geoquery returns no records unless we set a wider range to the radius parameter.
I have 3 records within few meters but GeoQuery returns nearby records only when a wider range of radius say in kilometres is set.
Same issue here.
instead of using 6 for radius try using 0.6
DESCRIPTION
This issue is similar to the ticket https://github.com/firebase/geofire-js/issues/80 .
GeoQuery returning near by records from firebase geofire directory after setting the radius of a large area.
Version info
Firebase: "^4.3.0"
GeoFire: "^4.1.2" Other (e.g. Node, browser, operating system) (if applicable): Mac / Chrome npm 5.2.0
Test case
GeoQuery must return all records within the radius specified.
Steps to reproduce
Set smaller radius with records in firebase and the Geoquery returns no records unless we set a wider range to the radius parameter.
Expected behaviour
GeoQuery must return all records within the radius specified.
Actual behaviour
I have 3 records within few meters but GeoQuery returns nearby records only when a wider range of radius say in kilometres is set.
CIRCLE RADIUS to 300 METRES
After setting GeoQuery RADIUS to 1
After setting GeoQuery RADIUS to 6