src/components/LayerController/logic/WasteGas.js
@@ -20,6 +20,7 @@ this.init = async (layer, L) => { this.animalService = new AnimalService({ L: L, layer: layer }) const res = await mapApi.getWasteGas() // console.log(res) const data = res.Result.DataInfo || {} // console.log(data) for (let i = 0; i < data.length; i++) { @@ -39,7 +40,7 @@ test: data[i], icon: L.icon({ iconUrl: iconUrl, iconSize: [20, 35], iconSize: [20, 20], iconAnchor: [10, 20] }) })