From 2eae34bb96413ba86f9f59a747e5f1be706d68b9 Mon Sep 17 00:00:00 2001 From: CN-JS-HuiBai Date: Wed, 8 Apr 2026 14:38:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E7=BB=98?= =?UTF-8?q?=E5=9B=BE=E7=9A=84=E6=95=85=E9=9A=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/app.js | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/public/js/app.js b/public/js/app.js index f452a97..3d1736e 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -978,32 +978,54 @@ if (currentLatencies && currentLatencies.length > 0) { const countryCoords = { 'china': [116.4074, 39.9042], + '中国': [116.4074, 39.9042], 'beijing': [116.4074, 39.9042], + '北京': [116.4074, 39.9042], 'shanghai': [121.4737, 31.2304], + '上海': [121.4737, 31.2304], 'hong kong': [114.1694, 22.3193], + '香港': [114.1694, 22.3193], 'taiwan': [120.9605, 23.6978], + '台湾': [120.9605, 23.6978], 'united states': [-95.7129, 37.0902], + '美国': [-95.7129, 37.0902], 'us seattle': [-122.3321, 47.6062], 'seattle': [-122.3321, 47.6062], + '西雅图': [-122.3321, 47.6062], 'us chicago': [-87.6298, 41.8781], 'chicago': [-87.6298, 41.8781], + '芝加哥': [-87.6298, 41.8781], 'news york': [-74.0060, 40.7128], 'new york corp': [-74.0060, 40.7128], 'new york': [-74.0060, 40.7128], + '纽约': [-74.0060, 40.7128], 'san francisco': [-122.4194, 37.7749], + '旧金山': [-122.4194, 37.7749], 'los angeles': [-118.2437, 34.0522], + '洛杉矶': [-118.2437, 34.0522], 'japan': [138.2529, 36.2048], + '日本': [138.2529, 36.2048], 'tokyo': [139.6917, 35.6895], + '东京': [139.6917, 35.6895], 'singapore': [103.8198, 1.3521], + '新加坡': [103.8198, 1.3521], 'germany': [10.4515, 51.1657], + '德国': [10.4515, 51.1657], 'frankfurt': [8.6821, 50.1109], + '法兰克福': [8.6821, 50.1109], 'united kingdom': [-3.436, 55.3781], + '英国': [-3.436, 55.3781], 'london': [-0.1276, 51.5074], + '伦敦': [-0.1276, 51.5074], 'france': [2.2137, 46.2276], + '法国': [2.2137, 46.2276], 'paris': [2.3522, 48.8566], + '巴黎': [2.3522, 48.8566], 'south korea': [127.7669, 35.9078], 'korea': [127.7669, 35.9078], - 'seoul': [126.9780, 37.5665] + '韩国': [127.7669, 35.9078], + 'seoul': [126.9780, 37.5665], + '首尔': [126.9780, 37.5665] }; const getShiftedCoords = (name) => {