Browse Source

地图管理界面实现地图加载功能

HRH-DEV
edgarhrh 5 months ago
parent
commit
08b5f6a844
  1. 2
      src/views/system/mapManagement/index.vue

2
src/views/system/mapManagement/index.vue

@ -72,7 +72,7 @@ const draw = () => {
for (let i = 0; i < normalPosList.length; i += 3) { for (let i = 0; i < normalPosList.length; i += 3) {
const x = normalPosList[i].x * mapCanvas.widthScale; const x = normalPosList[i].x * mapCanvas.widthScale;
const y = normalPosList[i].y * mapCanvas.heightScale; const y = normalPosList[i].y * mapCanvas.heightScale;
const circle = drawCircle(x, y, 2, '#c7d4ca'); const circle = drawCircle(x, y, 2, '#D5D8DC');
mapCanvas.layer.add(circle); mapCanvas.layer.add(circle);
} }
} }

Loading…
Cancel
Save