---
layout: api
title: "v2.0.1 JavaScript Library: L.MultiPolyline"
categories: api
version: v2.0.1
permalink: /api/v2.0.1/l-multipolyline/
---
<h2 id="multipolyline">MultiPolyline</h2>

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

<h3>Creation</h3>

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

<th>Description</th>
	</tr>
	<tr>
<td><code><b>