diff --git a/frontend/hooks/useLeafletMap.ts b/frontend/hooks/useLeafletMap.ts index 9f5fc2f9..9eca3e92 100644 --- a/frontend/hooks/useLeafletMap.ts +++ b/frontend/hooks/useLeafletMap.ts @@ -79,6 +79,12 @@ function createMarkerIcon( function buildNearbyIconHtml(detail: CityDetail, station: NearbyStation) { const symbol = detail.temp_symbol || "°C"; + const label = + station.station_label || + station.name || + station.station_code || + station.icao || + "实测 (OBS)"; let windHtml = ""; if (station.wind_dir != null) { @@ -100,7 +106,7 @@ function buildNearbyIconHtml(detail: CityDetail, station: NearbyStation) {