google-cloud-firestore - 在 imperiumlabs GeoFirestore getAtLocation 中,半径单位是什么?米还是公里?
问题描述
我正在使用 imperiumlabs getAtLocation 的 geofirestore,我注意到有时查询会返回值,有时不会。
我怀疑它与半径单位有关,我设置为 10,认为这是以公里为单位,有时会返回结果,有时不会。
我将半径更改为 10000,现在它一直返回结果。
我在 GeoFirestore 中看到了一个问题/答案:getAtLocation not return the full list of documents。
Aliton Oliveira 提到 getAtLocation 使用仪表。这个对吗?
解释类,我们应该将米传递给 getAtLocation 并将公里传递给 queryAtLocation。– Aliton Oliveira 20 年 5 月 26 日 17:40
解决方案
推荐阅读
- java - MapBox - 使用表达式定义 PropertyFactory.iconImage
- java - 从适配器单击第一个选项卡 recyclerview 项目时如何动画到第二个选项卡?
- android - RecyclerView 适配器的 getItemViewType 方法有时会返回 2、8 等而不是 0 或 1
- javascript - 角度多选(ss-multiselect-dropdown)定位
- php - Laravel 自定义邮件通知表
- django - 正确使用视图集查询集
- html - 隐藏输入类型什么时候有用?谷歌主页
- types - 由 `fieldnames` 定义的值类型的调度是否完全由类型的专业化决定?
- mysql - 使用 MySQL Workbench 安全组通过 EC2 实例连接到 Amazon RDS 实例
- c - C - 如何更改字符