管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-04-15 44517cf9375441d8a84808ca52d7ce474d8e0b17
src/components/mapol.vue
@@ -121,11 +121,14 @@
        ]),
        interactions: defaultInteractions().extend([new DragRotateAndZoom()]),
      })
      var base_ulr = window.sceneConfig.baseUrl;
      if (base_ulr.indexOf('{host}') > -1) {
        base_ulr = base_ulr.replace("{host}", iisHost)
      }
      window.olBaseMapLayer = new TileLayer({
        title: "高德地图",
        source: new XYZ({
          url: gaoDeBaseUrl[1].url,
          url: base_ulr,
          wrapX: false
        })
      });
@@ -362,7 +365,7 @@
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.5);
  border: 1px solid rgba(255, 255, 255, 0.5);
  //position: absolute;
  //bottom: 1%;
  //left: calc(1% + 75px);
@@ -395,7 +398,7 @@
  background-repeat: no-repeat;
  background-size: contain;
}
.changeLayer{
.changeLayer {
  position: absolute;
  bottom: 84px;
  right: 46px;
@@ -406,6 +409,6 @@
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.5);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
</style>