【问题标题】:Filter location GeoPoint in distance radius - Firestore以距离半径过滤位置 GeoPoint - Firestore
【发布时间】:2018-03-22 09:08:33
【问题描述】:

如何在 Firestore 数据库中搜索指定距离半径内的位置纬度和经度。

示例数据库:

COMPANIES
- COMPANY 1
--Lat: 12345 
--Long: 6789
- COMPANY 2
--Lat: 457851
--Long: 654214
- COMPANY 3
--Lat: 12345
--Long: 6789
- COMPANY 4
--Lat: 12463
--Long: 65487

注意: 在实时我可以选择使用 GeoFire,但在 Firestore 我没有找到任何方法。

您如何浏览数据库并根据您的位置在半径范围内找到公司?

【问题讨论】:

标签: java android firebase google-cloud-firestore


【解决方案1】:

虽然我们正在努力,但我们还没有support this。我们也没有ported GeoFire to Firestore,因为我们正在努力。

【讨论】:

  • 这有什么更新吗?已经 18 个月了,地理查询现在以某种方式成为标准
  • 没有更新,抱歉。我们是一个资源有限的小团队,不得不优先考虑其他事情。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多