src/layersupport.js
function (layers) {
		var layersArray = this._toArray(layers),
		    separated = this._separateSingleFromGroupLayers(layersArray, {
		        groups: [],
		        singles: []
		    }),
		    groups = separated.groups,
		    singles = separated.singles,
		    i = 0,
		    group, id;

		// Batch remove single layers from MCG.
		this._originalRemoveLayers(singles);

		// Remove Layer Groups from the map so that they are un-registered
		// there and the map fires 'layerremove' events for them as well.
		for (; i < groups.length; i++) {
			group = groups[i];
			id = L.stamp(group);
			delete this._proxyLayerGroups[id];
			if (this._map) {
				this._map._originalRemoveLayer(group);
			} else {
				this._proxyLayerGroupsNeedRemoving[id] = group;
			}
		}

		return this;
	}
function (layers) {
		var layersArray = this._toArray(layers),
		    separated = this._separateSingleFromGroupLayers(layersArray, {
		        groups: [],
		        singles: []
		    }),
		    groups = separated.groups,
		    singles = separated.singles,
		    i = 0,
		    group, id;

		// Batch remove single layers from MCG.
		this._originalRemoveLayers(singles);

		// Remove Layer Groups from the map so that they are un-registered
		// there and the map fires 'layerremove' events for them as well.
		for (; i < groups.length; i++) {
			group = groups[i];
			id = L.stamp(group);
			delete this._proxyLayerGroups[id];
			if (this._map) {
				this._map._originalRemoveLayer(group);
			} else {
				this._proxyLayerGroupsNeedRemoving[id] = group;
			}
		}

		return this;
	}
function ( layers ) { var layersArray = this . _toArray ( layers ) , separated = this . _separateSingleFromGroupLayers ( layersArray , { groups : [ ] , singles : [ ] } ) , groups = separated . groups , singles = separated . singles , i = 0 , group , id ; // Batch remove single layers from MCG. this . _originalRemoveLayers ( singles ) ; // Remove Layer Groups from the map so that they are un-registered // there and the map fires 'layerremove' events for them as well. for ( ; i < groups . length ; i ++ ) { group = groups [ i ] ; id = L . stamp ( group ) ; delete this . _proxyLayerGroups [ id ] ; if ( this . _map ) { this . _map . _originalRemoveLayer ( group ) ; } else { this . _proxyLayerGroupsNeedRemoving [ id ] = group ; } } return this ; }
Removes layers from this group but without check out.
Layer Groups are also removed from the map to fire their event.
@param layers (L.Layer|L.Layer[]) single and/or group layers to be removed.
@returns {L.MarkerClusterGroup.LayerSupport} this.
Removes layers from this group but without check out . Layer Groups are also removed from the map to fire their event .