---
layout: api
title: "v2.1.1 JavaScript Library: L.mapbox.featureLayer(id|url|geojson, options)"
categories: api
version: v2.1.1
permalink: /api/v2.1.1/l-mapbox-featurelayer/
---
<h2 id="section-l-mapbox-featurelayer">L.mapbox.featureLayer(id|url|geojson, options)</h2>
<p><span class='leaflet icon'><em>Extends</em>: <code><a href="/mapbox.js/api/v2.1.1/l-featuregroup">L.FeatureGroup</a></code></span></p>
<p><code><a href="/mapbox.js/api/v2.1.1/l-mapbox-featurelayer">L.mapbox.featureLayer</a></code> provid