src/components/LayerController/logic/SolidWaste.js
@@ -43,12 +43,6 @@ iconAnchor: [25, 25] }) }) /* marker.bindTooltip(getSolidWasteData[i].Name, { permanent: true, offset: [0, 14], direction: 'bottom', className: 'company-bindTooltip' }) */ layer.addLayer(marker) } } @@ -94,7 +88,7 @@ this.setPanTo(e.latlng, 200) } // flayTo() // flayTo() 弹框的可滑动事件 this.setPanTo = (pos, value) => { var position = pos position = window.map.latLngToLayerPoint(position)