代码片段贴的是咱们官网API, 其内三个回调success/fail/complete都不起作用,请帮测下吧,;
就是在一个事件内;缩放视野展示这两个经纬度是实现了,但这回调success/fail/complete都不起作用;
includePoints: function() {
this.mapCtx.includePoints({
padding: [10],
points: [{
latitude:23.10229,
longitude:113.3345211,
}, {
latitude:23.00229,
}],
complete:function(res){
console.log(“success”);
}
})
麻烦提供代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
方便贴下你代码不