0
如何在定义的距离半径范围内在Firestore数据库中搜索位置纬度和经度。在距离半径内过滤位置GeoPoint - 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我没有找到任何办法。
你怎么能通过数据库,并找到公司根据您的位置,在距离的半径?
[新的'Cloud Firestore'可以查询基于位置的距离吗?](https://stackoverflow.com/questions/46579698/is-the-new-cloud-firestore-able-to-query基 - 位置的距离) –