打开地图,获取当前位置定位后就报错误:[ERROR] : ReferenceError: Can't find variable: WeexPlus
再次调用获取用户当前位置就又获取到定位
mui.plusReady(function() {
map = new plus.maps.Map("map");
map.getUserLocation(function(state, point) {
if (0 == state) {
map.centerAndZoom(point, 18);
} else {
mui.toast("获取定位失败,请确认是否开启定位后刷新,谢谢");
}
});
});
GUNDAM
正式版都2.2.2了 你提1.9.4的问题 他们也帮你修复不了啊
2019-09-19 11:35