Browse Source

fix canvas多类型事件 合并bug

wangqin
qingzhengli 9 months ago
parent
commit
8ca14e0a30
  1. 3
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js

3
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/map.js

@ -90,6 +90,9 @@ export class MarkerCluster {
extData,
};
}
if (graphInstance.getCellById(stakeMark)) {
graphInstance.removeNode(stakeMark);
}
graphInstance.addNode({
x: distance,
y: 60,

Loading…
Cancel
Save