From d7920424b7997ed2a39e0fb19462531cfc0ed645 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期二, 13 六月 2023 16:27:02 +0800 Subject: [PATCH] 在线制图基添加础矢量图层;修改地图切换按钮,放大后没有同步 --- src/components/mapsdk.vue | 66 ++++++++++++++++---------------- 1 files changed, 33 insertions(+), 33 deletions(-) diff --git a/src/components/mapsdk.vue b/src/components/mapsdk.vue index 41278f1..7116c36 100644 --- a/src/components/mapsdk.vue +++ b/src/components/mapsdk.vue @@ -311,6 +311,17 @@ <div class="changeTerrain" @click="changeTerrainLayer" + style=" position: absolute; + bottom: 84px; + right: 46px; + height: 30px; + width: 30px; + z-index: 101; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + border: 1px solid rgba(255, 255, 255, 0.5);" > <div title="鍦板舰鍒囨崲" @@ -322,6 +333,17 @@ <div @click="changeMenulayer" class="changeLayer" + style=" position: absolute; + bottom: 116px; + right: 46px; + height: 30px; + width: 30px; + z-index: 101; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + border: 1px solid rgba(255, 255, 255, 0.5);" > <div title="搴曞浘鍒囨崲" @@ -333,6 +355,17 @@ <div @click="changeMapType" class="changeMapType" + style=" position: absolute; + bottom: 52px; + right: 46px; + height: 30px; + width: 30px; + z-index: 101; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + border: 1px solid rgba(255, 255, 255, 0.5);" > <div title="2/3缁村垏鎹�" @@ -2159,43 +2192,10 @@ // cursor: pointer; //} .changeTerrain { - position: absolute; - bottom: 84px; - right: 46px; - height: 30px; - width: 30px; - z-index: 101; - display: flex; - justify-content: center; - align-items: center; - cursor: pointer; - border: 1px solid rgba(255, 255, 255, 0.5); } .changeLayer { - position: absolute; - bottom: 116px; - right: 46px; - height: 30px; - width: 30px; - z-index: 101; - display: flex; - justify-content: center; - align-items: center; - cursor: pointer; - border: 1px solid rgba(255, 255, 255, 0.5); } .changeMapType { - position: absolute; - bottom: 52px; - right: 46px; - height: 30px; - width: 30px; - z-index: 101; - display: flex; - justify-content: center; - align-items: center; - cursor: pointer; - border: 1px solid rgba(255, 255, 255, 0.5); } //.changeTerrain { // position: absolute; -- Gitblit v1.9.3