Is the new 'Cloud Firestore' able to query based location distance?

若如初见. 提交于 2019-12-09 16:01:21

问题


I know Cloud Firestore stores locations based on latitude and longitude in Geopoints. However, I can't find a method or a way documented to query documents based on the distance to a certain point, kind of what GeoFire does for the Realtime database.

Is there a way to achieve that?


回答1:


It's something we're looking into, but isn't supported at this time.



来源:https://stackoverflow.com/questions/46579698/is-the-new-cloud-firestore-able-to-query-based-location-distance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!