From 6caee17e2d3001af9fd7aacadaa5e01dcbc1aebb Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 15 Mar 2026 16:43:52 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/dashboard/components/world-stage-map.tsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/openflare_server/web/features/dashboard/components/world-stage-map.tsx b/openflare_server/web/features/dashboard/components/world-stage-map.tsx index ff138031..4d5d1ff3 100644 --- a/openflare_server/web/features/dashboard/components/world-stage-map.tsx +++ b/openflare_server/web/features/dashboard/components/world-stage-map.tsx @@ -3,7 +3,7 @@ import ReactEChartsCore from 'echarts-for-react/lib/core'; import type { EChartsCoreOption } from 'echarts/core'; import * as echarts from 'echarts/core'; -import { ScatterChart } from 'echarts/charts'; +import { MapChart, ScatterChart } from 'echarts/charts'; import { GeoComponent, TooltipComponent } from 'echarts/components'; import { CanvasRenderer } from 'echarts/renderers'; import { useRouter } from 'next/navigation'; @@ -20,7 +20,13 @@ import { getOpenrestyStatusLabel, } from '@/features/nodes/utils'; -echarts.use([GeoComponent, TooltipComponent, ScatterChart, CanvasRenderer]); +echarts.use([ + GeoComponent, + TooltipComponent, + MapChart, + ScatterChart, + CanvasRenderer, +]); const fallbackCoordinates = [ [-122.4194, 37.7749],