src/components/LayerController/logic/WasteGas.js
@@ -41,7 +41,7 @@ icon: L.icon({ iconUrl: iconUrl, iconSize: [20, 20], iconAnchor: [10, 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) => {