Closed MIdkhat closed 3 years ago
That code looks correct at first glance. If the problem still persists, do you have a database somewhere with your data so that I can test against it?
That code looks correct at first glance. If the problem still persists, do you have a database somewhere with your data so that I can test against it?
Thanks, I have sorted it out some time ago :)
I am learning how to work with GeoFire and started on a quite simple project - there is a bunch of locations, I want to make a query based on some point and radius. here is the code so far:
The data structure is also very simple:
Here is the response in the console: scripts.js:358 GeoQuery has loaded and fired all other events for initial data scripts.js:371 Provided key has a location of -37.8700135,144.7632183
I am certain there are a lot of points in my dataset which should fall into 7km circle, but I don't get any. Get request does provide location for given keys, so I presume the issue is in the way I handle the Query.