---
layout: api
title: "v2.2.2 JavaScript Library: L.mapbox.gridControl(layer, options)"
categories: api
version: v2.2.2
permalink: /api/v2.2.2/l-mapbox-gridcontrol/
---
<h2 id="section-l-mapbox-gridcontrol">L.mapbox.gridControl(layer, options)</h2>
<p><span class='leaflet icon'><em>Extends</em>: <code><a href="/mapbox.js/api/v2.2.2/l-control">L.Control</a></code></span></p>
<p>Interaction is what we call interactive parts of maps that are created with the powerful <a href="http://mapbox.com/tilemill/docs/c