Commit 39a2579d authored by xxx's avatar xxx

修改定位判断方法

parent 04d91f49
......@@ -362,7 +362,7 @@ export default {
let LoaObj1xy = {};
//判断该车是否在行驶状态
let drivingDistance = that.getDistanceIndex(that.navigatorXY.y,that.navigatorXY.x,position.coords.latitude,position.coords.longitude);
console.log(drivingDistance);
//console.log(drivingDistance);
if(drivingDistance <= 1){
that.leftBtnDisable = true;
}else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment