w***@outlook.com
w***@outlook.com
  • 发布:2018-11-19 00:40
  • 更新:2019-08-14 14:36
  • 阅读:1025

getCurrentPosition接口获取不到heading和speed的值

分类:HTML5+

安卓手机getCurrentPosition接口使用的{provider:'baidu',coordsType:"bd09ll"},获取不到heading和speed的值,永远返回"heading":null,"speed":0。

plus.geolocation.getCurrentPosition(function(a){
mui.toast(JSON.stringify(a.coords))
console.log(JSON.stringify(a.coords))
}, function(e){
console.log('Geolocation error: ' + e.message);
} ,{provider:'baidu',coordsType:"bd09ll"});

谁能解答一下?

2018-11-19 00:40 负责人:无 分享
已邀请:
3***@qq.com

3***@qq.com

我也遇到了这个问题,你现在解决了吗

该问题目前已经被锁定, 无法添加新回复