From b620b2f8962a0a1fea3846db83b98704820e16b9 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期三, 07 四月 2021 17:54:11 +0800
Subject: [PATCH] 修改图标大小

---
 src/components/LayerController/logic/WasteWater.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/LayerController/logic/WasteWater.js b/src/components/LayerController/logic/WasteWater.js
index b6bbf06..374b747 100644
--- a/src/components/LayerController/logic/WasteWater.js
+++ b/src/components/LayerController/logic/WasteWater.js
@@ -33,11 +33,11 @@
       // 瀹氫箟绫诲瀷 鐢ㄦ潵鍖哄垎鏁版嵁鐨勪笉鍚�
       const testValue = data[i].ContrLevel
       const iconUrl = this.differentTypes(testValue)
-      const marker = L.marker.magic([positionX, positionY], {
+      const marker = L.marker([positionX, positionY], {
         test: data[i],
         icon: L.icon({
           iconUrl: iconUrl,
-          iconSize: [50, 50],
+          iconSize: [20, 20],
           iconAnchor: [25, 25]
         })
       })

--
Gitblit v1.8.0