新“Cloud Firestore”能够查询基于位置的距离吗?
问题描述:
我知道基于经度和纬度Geopoints云公司的FireStore店的位置。但是,我无法找到一个方法或记录查询基础上某一点的距离文档的方式,什么样的GeoFire做为实时数据库。新“Cloud Firestore”能够查询基于位置的距离吗?
有没有办法做到这一点?
答
这是我们正在研究的东西,但在这个时候,不支持。
另请参阅此问题专门关于GeoFire: https://stackoverflow.com/questions/46553682/is-there-a-way-to-use-geofire-with-firestore –