fix: 修改雷达瓦片调取

This commit is contained in:
yarnom 2025-11-20 12:07:05 +08:00
parent 3161a89857
commit 2efe4c6c66

View File

@ -442,6 +442,7 @@ export class AppComponent implements OnInit, AfterViewInit {
this.selectedLocation = (st && st.location) ? st.location : ''; this.selectedLocation = (st && st.location) ? st.location : '';
const titleName = st?.name || st?.station_alias || st?.station_id || ''; const titleName = st?.name || st?.station_alias || st?.station_id || '';
this.selectedTitle = titleName ? `${titleName}${this.selectedLocation ? ` | ${this.selectedLocation}` : ''}` : (this.selectedLocation || ''); this.selectedTitle = titleName ? `${titleName}${this.selectedLocation ? ` | ${this.selectedLocation}` : ''}` : (this.selectedLocation || '');
this.reloadTileTimesAndShow();
if (!suppressUX) { if (!suppressUX) {
setTimeout(()=>{ try{ this.map.updateSize(); }catch{} }, 300); setTimeout(()=>{ try{ this.map.updateSize(); }catch{} }, 300);
this.scrollToChart(); this.scrollToChart();