src/components/LayerController/logic/WasteGas.js
@@ -40,7 +40,8 @@ test: data[i], icon: L.icon({ iconUrl: iconUrl, iconSize: [20, 20] iconSize: [20, 20], iconAnchor: [10, 10] }) }) layer.addLayer(marker) @@ -66,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) => {