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

<p>Extends <a href="/mapbox.js/api/v2.1.2/l-featuregroup">FeatureGroup</a> to allow creating multi-polygons (single layer that consists of several polygons that share styling/popup).</p>

<h3>Creation</h3>

<table data-id='multipolygon'>
	<tr>
<th>Factory</th>

<th>Description</th>
	</tr>
	<tr>
<td><code><b>L.multi