腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
如何
使用
geofirestore
获取
查询
firestore
并在
swift
中
获取
文档
swift
、
firebase
、
google-cloud-firestore
、
geofirestore
我尝试了下面的代码来
获取
根据附近的某个位置过滤的位置数据。但我不知道怎么弄到文件。FirebaseApp.configure() let geoFirestoreRef = db.collection("spot")
浏览 10
提问于2020-11-09
得票数 0
6
回答
是否有一种将GeoFire与
Firestore
结合
使用
的方法?
firebase
、
firebase-realtime-database
、
google-cloud-firestore
、
geofire
GeoFire与实时数据库紧密耦合,而geo-
查询
是许多希望迁移到
Firestore
的应用程序的常见功能依赖项。是否有任何方法复制
Firestore
环境
中
位置的散列/检索?
浏览 8
提问于2017-10-03
得票数 60
回答已采纳
2
回答
在每个由
geofirestore
查询
生成的
文档
下添加子集合
node.js
、
google-cloud-firestore
、
google-cloud-functions
我
使用
云函数
geofirestore
查询
了'users/userid/pros‘
firestore
集合,并从
查询
中
获得了一些特定的
文档
(’users/userid/pros/proid‘)。现在,我希望随后在从
查询
中
获得的每个特定
文档
下添加一个新的'notifs‘集合。下面是我实现该功能的代码。= require('
geofire
浏览 11
提问于2021-01-13
得票数 0
回答已采纳
2
回答
使用
geofirestore
添加、设置和更新
文档
reactjs
、
react-native
、
google-cloud-firestore
、
geospatial
、
geofirestore
我正在尝试在react native中
使用
geofirestore
,事实是我已经实现了在
firestore
中
添加元素的方法,但是我在
文档
中
读到数据必须由
geofirestore
方法添加。我必须更改所有的方法并
使用
firestore
方法吗?我
使用
的是javascript而不是typeScript,我看到有一些
使用
typescript的示例,它们似乎已经更新库,而其他示例不起作用。
如何</em
浏览 2
提问于2019-03-08
得票数 2
1
回答
使用
GEOFirestore
获取
附近的地理信息结果
javascript
、
google-cloud-firestore
、
geofirestore
我正在
使用
GeoFirestore
在云
Firestore
上编写一个云函数,根据中心和半径
查询
附近的位置。= require("
geofirestore
").
GeoFirestore
; constdb = admin.
firestore
();const object = db.collection(
浏览 1
提问于2018-12-31
得票数 1
1
回答
如何
根据
Firestore
中
的位置
获取
数据?
java
、
android
、
firebase
、
google-cloud-firestore
我想取商店的基础上的用户位置在
Firestore
。
浏览 0
提问于2019-01-22
得票数 0
1
回答
如何
使用
GeoFirestore
实际
查询
Firestore
中
的数据?
node.js
、
google-cloud-firestore
、
geofirestore
我试图
使用
GeoFirestore
在我的node.js项目中
查询
给定radius
中
给定点附近的
文档
。首先,我在数据库中有这样一种格式的文件: 我的
查询
代码如下:const geoQuery =
geoFirestore
.query({ center: new firebase.
firestore
.GeoPoint(latitute, lon
浏览 1
提问于2018-12-19
得票数 0
回答已采纳
1
回答
geofirestore
不返回单个
文档
数据
typescript
、
firebase
、
google-cloud-firestore
、
google-cloud-functions
、
geofirestore
我们正在
使用
geofirestore
npm package来
获取
附近的
文档
。 这是我们用来
获取
这些
文档
的Cloud函数。exports.getNearbyOffers = functions.https.onCall((data, context) => { const center : GeoPoint = new
浏览 14
提问于2020-08-06
得票数 1
回答已采纳
1
回答
`querysnapshot.forEach`方法不迭代
loops
、
google-cloud-firestore
、
google-cloud-functions
我试图在我从
查询
中
获得的每个
文档
下添加一个集合notifs。我从
查询
中
得到了document1、document2和document3,所以我想在所有这些
文档
下添加notifs集合,但是结果是notifs集合仅在document1下添加。
如何
在来自
查询
的所有
文档
(而不仅仅是1 )下添加notifs集合?谢谢。= require('
geofirestore
').
GeoFirestore</e
浏览 0
提问于2021-01-18
得票数 0
回答已采纳
2
回答
在范围内
使用
GeoFireStore
Android检索用户
java
、
android
、
firebase
、
google-cloud-firestore
、
geofirestore
在我的Android应用程序
中
,我需要
使用
GeoFireStore
在一个范围内获得一个用户列表。我从这个得到的所有信息。受抚养人:储存库:A代码: CollectionReference geoFirestor
浏览 0
提问于2019-05-06
得票数 4
回答已采纳
1
回答
支持高级
查询
的
Geofirestore
angular
、
typescript
、
firebase
、
google-cloud-firestore
、
geofirestore
我正在考虑更改我的
firestore
集合结构以在我的应用程序
中
包含地理
查询
。
geofirestore
需要特定的结构: g: string; d: DocumentData;} 我知道
geofirestore
不允许
使用
where子句来检索
文档
。但是,我想让用户选择查看基于位置的信息或在我现有的应用程序
中
搜索(
使用
独立
查询
浏览 17
提问于2020-05-19
得票数 0
回答已采纳
1
回答
如何
使用
firebase http函数将快照返回给
swift
应用程序
swift
、
firebase
、
google-cloud-functions
、
httprequest
、
geofirestore
我有一个firebase函数,通过geohash搜索半径执行
查询
和过滤。它正在工作,但我返回的是Json,我真正想做的是返回一个快照。我是firebase函数的新手。= admin.
firestore
(); const geocollection =
geofirestore
.collectionreturn res.send(snapshot) }).catch(error =&g
浏览 16
提问于2020-12-02
得票数 0
回答已采纳
1
回答
Geofirestore
文档
javascript
、
firebase
、
google-cloud-firestore
、
geofirestore
我试图在我的VueJs/
Firestore
应用程序中
使用
Geofirestore
,但似乎找不到完整的
GeoFirestore
库
文档
集。我只能在
geofirestore
.com和中找到列出的
文档
,但这是非常有限的。我已经成功地将位置数据添加到我的
FireStore
集合
中
,并将其
查询
为“近”方法,但我需要更多关于GeoQuerySnapshot返回结果的信息。例如,我在返回对象
中
接收到一个距离
浏览 0
提问于2019-01-10
得票数 1
回答已采纳
2
回答
当调用不等式运算符时,初始Query.orderBy()参数必须与Query.where() fieldPath参数相同
javascript
、
firebase
、
react-native
、
google-cloud-firestore
、
geofirestore
我有这样的代码,在这里,我试图从时间不超过半小时的集合
中
获取
一个
文档
。它在不等式算子
中
完全失败。().collection().orderBy()无效
查询
。:在创建Geo散列时添加"time“字段,因此在相同的
查询
中
:constcurrenttime = new Date(tsToMillis); const
浏览 9
提问于2021-12-05
得票数 1
回答已采纳
1
回答
使用
自定义字段(即:位置)代替
GeoFirestore
中
的坐标
javascript
、
firebase
、
google-cloud-firestore
、
geofirestore
我的数据库在一个名为location的字段
中
包含geopoint,但是要
使用
,字段必须具有名为coordinate的有效geopoint数据。
浏览 1
提问于2019-08-05
得票数 0
5
回答
如何
在
中
查询
集合中最近的GeoPoints?
firebase
、
google-cloud-firestore
新的
Firestore
DB允许我存储GeoPoints。有没有一种基于它们的
查询
方法?
文档
似乎没有涵盖这一点。
浏览 14
提问于2017-10-06
得票数 34
回答已采纳
2
回答
如何
使用
geofirestore
查询
集合半径内的所有地理
查询
?
javascript
、
firebase
、
google-cloud-firestore
、
geopoints
、
geofirestore
我正在尝试对一个云-火药库进行
查询
,它应该返回给定地理点半径范围内的所有地理点,比如10.5公里。我正试着用地理火药库来实现这一点。我尝试过
使用
地理
查询
,但是找不到返回这个的方法或属性。document.addEventListener('DOMContentLoaded', () => {}); timestampsInSnaps
浏览 0
提问于2018-10-29
得票数 1
回答已采纳
1
回答
GeoFireStore
getLocation返回null
java
、
android
、
firebase
、
google-cloud-firestore
、
geofirestore
我尝试
使用
GeoFireStore
来设置、
获取
和
查询
位置。我首先尝试
使用
以下命令执行setLocation:
geoFirestore
.setLocation( auth.getUid(
浏览 16
提问于2020-05-08
得票数 1
1
回答
如何
使用
GeoFirestore
(Java/Android)在谷歌地图上显示多个标记?
java
、
android
、
firebase
、
google-cloud-firestore
、
geofirestore
我正在尝试
使用
GeoFirestore
在我的地图片段上添加多个标记,但我不知道
如何
操作。我试着遵循他们的site的指导,但我仍然无法得到想要的结果。我在一个集合中有多个
文档
,如果它们在所需的范围内,我希望在地图上显示它们;但是,我不知道应该在哪里实例化标记。
Firestore
中
的数据库结构: ? GeoFirebase
查询
代码: if (distantCategoryValue !CollectionReference geoFirestoreRef = Fir
浏览 24
提问于2019-06-08
得票数 0
回答已采纳
1
回答
如何
从
Firestore
检索两个集合下的节点?
node.js
、
database
、
google-cloud-firestore
、
google-cloud-functions
我有这样的结构: console.log('error found' + err) }) let snapshot = await
firestore
.fetch因此,我无法进入下一个步骤来
获取
下一个集合(在本例
中
是集合B)。将调用fetch方法,
浏览 1
提问于2018-11-08
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
手把手教你用苹果Core ML和Swift开发人脸目标识别APP
新年新语言,WCDB Swift
开发者注意啦,谷歌宣布开源 Swift for TensorFlow
谷歌宣布开源Swift for TensorFlow
宣布Swift for TensorFlow已在GitHub上开源
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券