MapContext.includePoints不进入回调函数是怎么回事儿?
发布于 6 年前 作者 bxue 616 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)

includePointsFn(points) {

this.mapCtx.includePoints({

points: points,

success(res) {

console.log(res)

},

fail(res) {

console.log(res)

},

});

},

  • 预期表现

输出打印信息

  • 复现路径
  • 提供一个最简复现 Demo
2 回复

2019年1月14日起新提交发布的版本若未填写地理位置用途说明,则将无法正常调用地理位置相关接口,请及时填写地理位置用途说明。

https://developers.weixin.qq.com/community/develop/doc/000ea276b44928f7e8d73d0a65b801?idescene=6

麻烦提供出现问题的机型和微信版本,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部