Browse Source

切换底图组件

shuhao 1 month ago
parent
commit
ce47c7e7e0

+ 1 - 1
src/components/static_map_change/Layers.js

@@ -53,7 +53,7 @@ class StaticMapLayers {
                     that.layerData[key] = {legend:item.legend, layer:that.addStaticImgLayer(map, item)}
                 }
             }
-            that.autoTest()
+            // that.autoTest()
         })
     }
     show(key,isFit = false){

+ 1 - 1
src/components/static_map_change/legend.vue

@@ -69,7 +69,7 @@ eventBus.on("alarmList:changeMapLayer", updateColors)
 
 .legend {
   margin-top: 10px;
-  width: 50%;
+  width: 70%;
 }
 .color-bar-big{
   width: 100%;