使用plus.geolocation.getCurrentPosition获取定位信息,用户没有设置位置权限,或者没有打开gps服务时,并不会进入到错误函数回调,而是进入成功函数回调,但是获取的位置错误了:longitude:5e-324,latitude:5e-324,这个是什么问题?
![1***@qq.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/63884b3ed0ca07994da9ce69884d838f.png)
1***@qq.com
- 发布:2018-10-12 11:41
- 更新:2018-10-12 11:41
- 阅读:1931
使用plus.geolocation.getCurrentPosition获取定位信息,当用户没有设置位置权限,或者没有打开gps服务时,并不会进入到错误函数回调
分类:HTML5+
![](http://img-cdn-tc.dcloud.net.cn/uploads/questions/20181012/e63f7134695e74c9fe409a85be5ddf22.jpg)