How to orderBy the closest distance from current location in AngularFire2?

后端 未结 2 1415
星月不相逢
星月不相逢 2021-01-27 02:17

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

2条回答
  •  臣服心动
    2021-01-27 03:01

    I think, using GeoFire can be a solution to get the data order by closest distance.

提交回复
热议问题