From d9e397650098a4f5dac76f598721ad1d96cb3958 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期四, 08 四月 2021 17:38:50 +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 c3bccaf..2ae5507 100644 --- a/src/components/LayerController/logic/WasteWater.js +++ b/src/components/LayerController/logic/WasteWater.js @@ -37,8 +37,8 @@ test: data[i], icon: L.icon({ iconUrl: iconUrl, - iconSize: [20, 20], - iconAnchor: [10, 10] + iconSize: [35, 35], + iconAnchor: [18, 18] }) }) layer.addLayer(marker) -- Gitblit v1.8.0