riku
2023-07-20 d22ce1ad1c4656f5c2212bbabb35ba498300aced
src/components/map/baseMap.js
@@ -73,25 +73,25 @@
  satellite.hide();
  map.add([satellite]);
  const rPx = 100;
  const tPx = 110;
  // const rPx = 100;
  // const tPx = 110;
  // 添加地图控制工具
  map.addControl(
    new AMap.ControlBar({
      position: {
        right: rPx + 'px',
        top: tPx + 'px'
      }
    })
  );
  map.addControl(
    new AMap.ToolBar({
      position: {
        right: rPx + 30 + 'px',
        top: tPx + 90 + 'px'
      }
    })
  );
  // map.addControl(
  //   new AMap.ControlBar({
  //     position: {
  //       right: rPx + 'px',
  //       top: tPx + 'px'
  //     }
  //   })
  // );
  // map.addControl(
  //   new AMap.ToolBar({
  //     position: {
  //       right: rPx + 30 + 'px',
  //       top: tPx + 90 + 'px'
  //     }
  //   })
  // );
  //
  mouseTool = new AMap.MouseTool(map);