From acaf96424ba04b2ab2b9fa0e1bbfa17ea549cc08 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Tue, 02 Jan 2024 11:09:50 +0800
Subject: [PATCH] userid修改

---
 src/views/check/components/OlMapBox.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/views/check/components/OlMapBox.vue b/src/views/check/components/OlMapBox.vue
index fd5349c..1f2e38a 100644
--- a/src/views/check/components/OlMapBox.vue
+++ b/src/views/check/components/OlMapBox.vue
@@ -255,11 +255,11 @@
             }
 
             if (params.url) {
-              styleOptions.image = new Icon({
-                scale: params.scale || 1,
-                imgSize: params.imgSize || [32, 32],
-                src: params.url,
-              })
+                styleOptions.image = new Icon({
+                    scale: params.scale || 1,
+                    imgSize: params.imgSize || [32, 32],
+                    src: params.url,
+                })
             }
 
             if (params.text) {
@@ -325,7 +325,7 @@
         // 添加聚合图层的新模式,水库点分布
         mapAddClusterLayer (layerName, imgUrl, positionData, incident = (e) => { }, type = '') {
             const that = this
-            console.log(layersObjcect,layerName,positionData,"+++++++++++++")
+            console.log(layersObjcect, layerName, positionData, "+++++++++++++")
             if (!layersObjcect[layerName]) {
                 if (type == 'cluster') {
                     let source = new VectorSource()
@@ -466,8 +466,8 @@
     padding: 15px;
     border-radius: 10px;
     border: 1px solid #cccccc;
-    bottom: 130px;
-    left: -114px;
+    bottom: 34px;
+    left: -46px;
     min-width: 300px;
 }
 

--
Gitblit v1.9.3