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基 - 位置的距離) –