leaflet中featureGroup的用法及让地图进行对应的缩放
this.ciLayerCircle = null
function polycircle(latlng, circleSize) {
this.ciLayerCircle && this.ciLayerCircle.clearLayers()
this.ciLayerCircle && this.map.removeLayer(this.ciLayerCircle);
this.ciLayerCircle = L.featureGroup()
let ciLayerCircle = L.circle(latlng, {
radius: circleSize,
color: '#fff',
weight: 1,
fill: true,
fillColor: '#27A75C',
fillOpacity: 0.2
})
this.ciLayerCircle.addLayer(ciLayerCircle);
this.map.addLayer(this.ciLayerCircle)
let bounds = this.ciLayerCircle.getBounds();
this.map.fitBounds(bounds);
},