fix: 修改雷达瓦片调取
This commit is contained in:
parent
3161a89857
commit
2efe4c6c66
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user