---
layout: api
title: "v2.1.2 JavaScript Library: L.FeatureGroup"
categories: api
version: v2.1.2
permalink: /api/v2.1.2/l-featuregroup/
---
<h2 id="featuregroup">FeatureGroup</h2>

<p>Extended <a href="/mapbox.js/api/v2.1.2/l-layergroup">layerGroup</a> that also has mouse events (propagated from members of the group) and a shared bindPopup method. Implements <a href="/mapbox.js/api/v2.1.2/l-ilayer">ILayer</a> interface.</p>

<pre><code class="javascript">L.featureGroup([marker1, marker2, polyline])
	