Adds a given layer to the group.
Adds the group of layers to the map.
Binds a popup with a particular HTML content to a click on any layer from the group that has a bindPopup method.
Brings the layer group to the bottom of all other layers.
Brings the layer group to the top of all other layers.
Removes all the layers from the group.
Iterates over the layers of the group, optionally specifying context of the iterator function.
Returns the LatLngBounds of the Feature Group (created from bounds and coordinates of its children).
Returns the layer with the given id.
Returns an array of all the layers added to the group.
Returns true if the given layer is currently added to the group.
Should contain code that creates DOM elements for the overlay, adds them to map panes where they should belong and puts listeners on relevant map events. Called on map.addLayer(layer).
Should contain all clean up code that removes the overlay's elements from the DOM and removes listeners previously added in onAdd. Called on map.removeLayer(layer).
Removes a given layer from the group.
Removes a given layer of the given id from the group.
Sets the given path options to each layer of the group that has a setStyle method.
Returns a GeoJSON representation of the layer group (GeoJSON FeatureCollection).
You can also use the following shortcut when you just need to make one additional method call.
You use L.Class.extend to define new classes, but you can use the same method on any class to inherit from it.
Create a layer group, optionally given an initial set of layers.