From 90671325090a58b0dfc91dac6a84b1c2a09eaac7 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 27 三月 2025 17:29:27 +0800 Subject: [PATCH] 修复绘制轨迹线时,上一组数据没有清除的问题 --- src/model/SatelliteGrid.js | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/model/SatelliteGrid.js b/src/model/SatelliteGrid.js index cb547e9..ad01ca9 100644 --- a/src/model/SatelliteGrid.js +++ b/src/model/SatelliteGrid.js @@ -629,6 +629,26 @@ return heatTag; } + drawHeatGrid2(tag, headGridDataDetailList) { + const heatTag = `heat-${tag}`; + if (this.mapViewsMap.has(heatTag)) { + this.changeVisibility({ + tags: [heatTag], + showGridViews: true + }); + } else { + this.drawTagGrid({ + tag: heatTag, + data: headGridDataDetailList, + extData: { + name: `璧拌埅鐑姏鍥� - ${heatTag}`, + type: 2 + } + }); + } + return heatTag; + } + search(gdd, width, height, eachwidth, eachheight, searchLength) { function getCellWidthRange(cellId, width, height) { const total = width * height; -- Gitblit v1.9.3