|
|
|
@ -855,12 +855,12 @@ const processData = (data) => {
|
|
|
|
lat: data.Latitude,
|
|
|
|
lat: data.Latitude,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// boxPos.value = location
|
|
|
|
// boxPos.value = location
|
|
|
|
let data = getLocalPositionFromRect_Point1AsCenter({
|
|
|
|
let res = getLocalPositionFromRect_Point1AsCenter({
|
|
|
|
lon: data.Longitude,
|
|
|
|
lon: data.Longitude,
|
|
|
|
lat: data.Latitude,
|
|
|
|
lat: data.Latitude,
|
|
|
|
rotate: data.HeadingAngle
|
|
|
|
rotate: data.HeadingAngle
|
|
|
|
}, areaPoints.value, areaData.value)
|
|
|
|
}, areaPoints.value, areaData.value)
|
|
|
|
console.log(data)
|
|
|
|
console.log(res)
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|