修复2D地图无法渲染的问题

This commit is contained in:
CN-JS-HuiBai
2026-04-09 12:25:41 +08:00
parent 6aa8ba5fbc
commit a14fcdf158

View File

@@ -963,31 +963,40 @@
if (currentLatencies && currentLatencies.length > 0) {
const countryCoords = {
'china': [116.4074, 39.9042],
'cn': [116.4074, 39.9042],
'beijing': [116.4074, 39.9042],
'shanghai': [121.4737, 31.2304],
'hong kong': [114.1694, 22.3193],
'hk': [114.1694, 22.3193],
'taiwan': [120.9605, 23.6978],
'tw': [120.9605, 23.6978],
'united states': [-95.7129, 37.0902],
'us': [-95.7129, 37.0902],
'us seattle': [-122.3321, 47.6062],
'seattle': [-122.3321, 47.6062],
'us chicago': [-87.6298, 41.8781],
'chicago': [-87.6298, 41.8781],
'news york': [-74.0060, 40.7128],
'new york corp': [-74.0060, 40.7128],
'new york': [-74.0060, 40.7128],
'new york corp': [-74.0060, 40.7128],
'san francisco': [-122.4194, 37.7749],
'los angeles': [-118.2437, 34.0522],
'japan': [138.2529, 36.2048],
'jp': [138.2529, 36.2048],
'tokyo': [139.6917, 35.6895],
'singapore': [103.8198, 1.3521],
'sg': [103.8198, 1.3521],
'germany': [10.4515, 51.1657],
'de': [10.4515, 51.1657],
'frankfurt': [8.6821, 50.1109],
'united kingdom': [-3.436, 55.3781],
'uk': [-3.436, 55.3781],
'london': [-0.1276, 51.5074],
'france': [2.2137, 46.2276],
'fr': [2.2137, 46.2276],
'paris': [2.3522, 48.8566],
'south korea': [127.7669, 35.9078],
'korea': [127.7669, 35.9078],
'kr': [127.7669, 35.9078],
'seoul': [126.9780, 37.5665]
};