From 0f6673f95ac0b382b6ee28b93661589a4895e4d1 Mon Sep 17 00:00:00 2001 From: yangdelong <828900aaa> Date: 星期四, 08 四月 2021 09:24:34 +0800 Subject: [PATCH] 美化企业文字展示,增加临时测试页面。 --- src/components/LayerController/logic/WasteGas.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/LayerController/logic/WasteGas.js b/src/components/LayerController/logic/WasteGas.js index 8a6d9f2..2ac1651 100644 --- a/src/components/LayerController/logic/WasteGas.js +++ b/src/components/LayerController/logic/WasteGas.js @@ -40,8 +40,8 @@ test: data[i], icon: L.icon({ iconUrl: iconUrl, - iconSize: [20, 35], - iconAnchor: [10, 20] + iconSize: [20, 20], + iconAnchor: [10, 10] }) }) layer.addLayer(marker) @@ -67,7 +67,7 @@ // console.log(e.layer.options.test) instance.$mount() document.body.appendChild(instance.$el) - this.setPanTo(e.latlng, 240) + this.setPanTo(e.latlng, 80) } // 涓嶅悓绫诲瀷鍥剧墖鍔犺浇 this.differentTypes = (ContrLevel) => { -- Gitblit v1.8.0