Commit 6cedd279 authored by xxx's avatar xxx

1

parent 1d5bb2d5
...@@ -401,6 +401,10 @@ export default { ...@@ -401,6 +401,10 @@ export default {
}else{ }else{
that.leftBtnDisable = false; that.leftBtnDisable = false;
} }
if(drivingDistance >= 1){
//地图视角跟随
//that.$refs.mars3dViewerMapMethod.changeView1(position.coords.latitude,position.coords.longitude);
}
LoaObj1xy.x = position.coords.longitude; LoaObj1xy.x = position.coords.longitude;
LoaObj1xy.y = position.coords.latitude; LoaObj1xy.y = position.coords.latitude;
that.navigatorXY.x = position.coords.longitude; that.navigatorXY.x = position.coords.longitude;
...@@ -412,8 +416,6 @@ export default { ...@@ -412,8 +416,6 @@ export default {
let zuizhong1 = {}; let zuizhong1 = {};
zuizhong1.name = that.equipmentName; zuizhong1.name = that.equipmentName;
zuizhong1.jsonObject = JSON.stringify(LoaObj1); zuizhong1.jsonObject = JSON.stringify(LoaObj1);
//地图视角跟随
//that.$refs.mars3dViewerMapMethod.changeView1(position.coords.latitude,position.coords.longitude);
//上传坐标 //上传坐标
httpPostForJson(gpsPhoneGpsQuery,zuizhong1).then((res1) => {}) httpPostForJson(gpsPhoneGpsQuery,zuizhong1).then((res1) => {})
httpPostForJson(carRealTimeLocationQuery2,JSON.stringify(LoaObj1)).then((res2) => {}) httpPostForJson(carRealTimeLocationQuery2,JSON.stringify(LoaObj1)).then((res2) => {})
......
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