I am using AngularFire2 library to query in firebase. In my firebase, i have data collection and in them, i have many rows with latitude and
latitude
I think, using GeoFire can be a solution to get the data order by closest distance.