fix: 默认显示雷达组合反射率
This commit is contained in:
parent
35ba93a435
commit
582270ce95
@ -16,9 +16,13 @@ const WeatherMap = {
|
|||||||
this.initializeMap(tiandituKey);
|
this.initializeMap(tiandituKey);
|
||||||
this.setupEventListeners();
|
this.setupEventListeners();
|
||||||
this.setupTileControls();
|
this.setupTileControls();
|
||||||
// 默认不显示(需用户选择),但准备好默认索引
|
// 默认叠加:组合反射率(radar),并准备默认索引
|
||||||
this.tileZ = 7; this.tileY = 40; this.tileX = 102;
|
this.tileZ = 7; this.tileY = 40; this.tileX = 102;
|
||||||
this.tileProduct = 'none';
|
this.tileProduct = 'radar';
|
||||||
|
const prodSel = document.getElementById('tileProduct');
|
||||||
|
if (prodSel) prodSel.value = 'radar';
|
||||||
|
// 触发首次加载
|
||||||
|
try { this.reloadTileTimesAndShow(); } catch(e) { console.warn('init tiles load failed', e); }
|
||||||
},
|
},
|
||||||
|
|
||||||
// 初始化图层
|
// 初始化图层
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user