Data structure in Firestore using GeoFirestore

送分小仙女□ 提交于 2019-12-11 12:28:23

问题


I write an Android application and use GeoFirestore.

I can't to get a list with users from Firestore within a range 30 meters.

I think that I wrong to make a structure of data.

Data Structure:

Did I build my data structure correctly?


回答1:


I resolved my problem.

My structure of data is not correct.

The correct structure in the picture below:

geoHash - String

location - Array

In array type of data is Number.



来源:https://stackoverflow.com/questions/56034936/data-structure-in-firestore-using-geofirestore

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