聚合阶段geoNear使用的是wgs84还是gcj02坐标系?

发布于 8 年前作者 bli3135 次浏览最后编辑 8 年前来自 ask

以官方文档提供的示例代码为例:https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-sdk-api/database/aggregate/Aggregate.geoNear.html#%E7%A4%BA%E4%BE%8B

要求集合 attractions中的location使用wgs84还是gcj02坐标系?
还有示例代码near: db.Geo.Point(113.3089506, 23.0968251),这个(113.3089506, 23.0968251)是指的wgs84还是gcj02坐标系?
1 回复
gshao
gshao1 楼5 年前