I know this is a basic question, but I’m having a lot of trouble with it nonetheless.
I have a Firebase database storing community events. Each event node has a geo location node (created with GeoFire) called eventPlace (see screenshot below).
Using GeoFire (and javascript), how would I query the entire database and get all events within a certain location/radius? Is this possible, given the way the data is stored? Or do I need to move all the location nodes to a common node (eventPlaces??) and query that single parent node?
Note that I am not seeking real-time data. These locations are stored previously and don’t change very often.
Thanks in advance…