From 6cf964e8f74ac1ad703ab402f21f2c56c3aaac94 Mon Sep 17 00:00:00 2001 From: R2m1liA <15258427350@163.com> Date: Wed, 19 Nov 2025 14:05:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=9C=B0=E5=9B=BE?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E8=B7=B3=E8=BD=AC=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将高德地图改为百度地图 --- app/utils/autoMap.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/utils/autoMap.ts b/app/utils/autoMap.ts index c55efde..f3b9546 100644 --- a/app/utils/autoMap.ts +++ b/app/utils/autoMap.ts @@ -15,7 +15,8 @@ async function testSpeed(url: string, timeout = 1500) { async function selectBestMap() { const testTargets = { - amap: 'https://www.amap.com/favicon.ico', + // amap: 'https://www.amap.com/favicon.ico', + baidu: 'https://map.baidu.com/favicon.ico', google: 'https://maps.google.com/favicon.ico', }; @@ -33,7 +34,8 @@ async function selectBestMap() { export async function getAutoMappedService(): Promise { const target = { - amap: 'https://surl.amap.com/2dYNorIJ1dgoN', + // amap: 'https://surl.amap.com/2dYNorIJ1dgoN', + baidu: 'https://j.map.baidu.com/f9/c3x', google: 'https://maps.app.goo.gl/9LqvMwEq7VaRkqnM6', }; -- 2.49.0