Commit 908bd5cf authored by xxx's avatar xxx

修改

parent 7b1e3d7a
{ {
"map3d": { "map3d": {
"scene": { "scene": {
"center": {"lat":37.4900,"lng":122.04849,"alt":1000,"heading":360,"pitch":-90}, "center": {"lat":34.52912,"lng":117.662855,"alt":1000,"heading":360,"pitch":-90},
"scene3DOnly": false, "scene3DOnly": false,
"shadows": false, "shadows": false,
"removeDblClick": true, "removeDblClick": true,
......
...@@ -89,8 +89,8 @@ export default { ...@@ -89,8 +89,8 @@ export default {
httpGet(carRealTimeLocationQuery2,{name:this.equipmentName}).then((resSon3) => { httpGet(carRealTimeLocationQuery2,{name:this.equipmentName}).then((resSon3) => {
if(resSon3.code == 200){ if(resSon3.code == 200){
let resSon3Obj1 = {}; let resSon3Obj1 = {};
resSon3Obj1.lat = resSon3.data.lat; resSon3Obj1.lat = resSon3.data.location.y;
resSon3Obj1.lng = resSon3.data.lon; resSon3Obj1.lng = resSon3.data.location.x;
this.xiecheBtnAble = this.isPointInPolygon(resSon3Obj1,weilanArr1); this.xiecheBtnAble = this.isPointInPolygon(resSon3Obj1,weilanArr1);
} }
}); });
......
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