vue-amap
vue-amap copied to clipboard
为什么我使用Geolocation进行定位,定位地址不正确
问题
VueAMap 版本
0.5.9
OS/Browsers version
Vue 版本
2.5.2
复现地址
预期
实际
feature request
使用地图定位插件Geolocation,返回经纬度一直在北美,无法获取准确的定位信息
plugin: [ { pName: "Geolocation", events: { init(o) { // o 是高德地图定位插件实例 o.getCurrentPosition((status, result) => { if (result && result.position) { self.lng = result.position.lng; self.lat = result.position.lat; self.center = [self.lng, self.lat]; self.loaded = true; self.$nextTick(); } }); } } }]
a[d].split is not a function 请问使用定位的时候有遇到这样的报错嘛?
我也是 位置飘得很远 可能浏览器需要开个允许位置
a[d].split is not a function 请问使用定位的时候有遇到这样的报错嘛?
@natianxiayu 我遇到这个错误,你的解决了吗?