GeoFire and Firebase - how to request a certain number of nearest records?

My application uses Firebase, and I'm looking for Geofire to help find the location. Instead of querying for all the records in the specified radius, I would like to query to get the closest x records at the location in the coordinates that I provide. Is there a way to do this effectively?

Thanks in advance!

+4
source share

All Articles