From 0db01fa839b566721c5f1626c4589c090b861b61 Mon Sep 17 00:00:00 2001 From: suixy <2277317060@qq.com> Date: Sat, 11 Oct 2025 15:12:14 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/index.vue b/src/views/index.vue index 93df3ae..c3ff360 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1180,7 +1180,7 @@ function getBoundingBoxAndSize(pointsArr) { const height = Math.round(haversineDistance(minLat, minLon, maxLat, minLon)); // 左下角参考点 - const refPoint = {lon: minLon, lat: minLat}; + const refPoint = {lon: maxLon, lat: minLat}; // 找出距离 refPoint 最近的点 let nearestPoint = null;