From 8a0f9db76d49e528d71a395df19638e20d2a2a3f Mon Sep 17 00:00:00 2001 From: suixy <2277317060@qq.com> Date: Fri, 10 Oct 2025 18:04:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index a8a9985..1f4bdb2 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -781,8 +781,8 @@ const processData = (data) => { // console.log(data.Longitude > area.LonMin, data.Longitude < area.LonMax, data.Latitude > area.LatMin, data.Latitude < area.LatMax) if (data.Longitude > area.LonMin && data.Longitude < area.LonMax && data.Latitude > area.LatMin && data.Latitude < area.LatMax) { let location = { - x: 300 - (area.LonMax - data.Longitude) / ((area.LonMax - area.LonMin) / 300), - y: 1800 - (area.LatMax - data.Latitude) / ((area.LatMax - area.LatMin) / 1800), + x: data.Longitude, + y: data.Latitude, rotate: data.HeadingAngle // rotate: 0 }