来自Cloud Firestore团队的Sam在这里。正如SUPERCILEX所说,Cloud Firestore已经支持GeoPoint数据类型。我们正在努力将本地地理查询带到产品中。
由于原生地理查询即将到来,因此我们不会将GeoFire移植到Cloud Firestore。相反,我们将重定向工程,以尽快获得本地查询。
如果您今天需要geo查询并且不想构建自己的库,请使用Realtime Database !
GeoFire is tightly coupled to the Realtime Database, while geo-queries are a common functional dependency of many apps that are looking to migrate to Firestore. Is there any way to replicate the hashing/retrieval of locations in the Firestore environment?
解决方案Sam from the Cloud Firestore team here. As SUPERCILEX said, Cloud Firestore has support for the GeoPoint data type already. We are working hard to bring native geo queries to the product.
Because native geo queries are coming, we will not be porting GeoFire to Cloud Firestore. Instead we will redirect that engineering effort to getting the native queries sooner.
If you need geo queries today and don't want to build your own library, stick with Realtime Database!
更多推荐
有没有办法使用GeoFire与Firestore?
发布评论