From c63087b698d27edf8d5867a78a04a0713498a0c2 Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期一, 12 四月 2021 17:42:23 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/components/LayerController/logic/WasteGas.js | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/LayerController/logic/WasteGas.js b/src/components/LayerController/logic/WasteGas.js index 2b74c7b..bdc5e30 100644 --- a/src/components/LayerController/logic/WasteGas.js +++ b/src/components/LayerController/logic/WasteGas.js @@ -7,17 +7,19 @@ // 鍖哄垎涓嶅悓绫诲瀷 浣跨敤涓嶅悓img // const ImgBlue = '/assets/images/map/exhaust/fq_blue.png' // const ImgGray = '/assets/images/map/exhaust/fq_gray.png' -const ImagGreen = '/assets/images/map/exhaust/fq_green_new.png' +const ImagGreen = '/assets/images/map/exhaust/fq_green2.png' // const ImagBright = '/assets/images/map/exhaust/fq_bright_green.png' const mapApi = require('../../../api/mapApi').default const publicBounced = require('../../BaseNav/PublicBounced/PublicBounced').default +// const WasteGasChats = require('./WasteGasChats').default module.exports = function () { /** * 杩斿洖marker瀵硅薄鏁扮粍 * @param L leaflet瀵硅薄 */ this.init = async (layer, L) => { + // console.log(WasteGasChats) this.animalService = new AnimalService({ L: L, layer: layer }) const res = await mapApi.getWasteGas() // console.log(res) @@ -40,8 +42,8 @@ test: data[i], icon: L.icon({ iconUrl: iconUrl, - iconSize: [30, 38], - iconAnchor: [15, 19] + iconSize: [30, 30], + iconAnchor: [15, 15] }) }) layer.addLayer(marker) -- Gitblit v1.8.0