---
layout: api
title: "v3.1.1 JavaScript Library: L.mapbox.geocoderControl(id|url, options)"
categories: api
version: v3.1.1
permalink: /api/v3.1.1/l-mapbox-geocodercontrol/
---
<h2 id="section-l-mapbox-geocodercontrol">L.mapbox.geocoderControl(id|url, options)</h2>
<p>Adds geocoder functionality as well as a UI element to a map. This uses
the <a href="http://mapbox.com/developers/api/geocoding/">Mapbox Geocoding API</a>.</p>
<table>
<thead>
<tr>
<th>Options</th>
<th>Value</th>
<th>Description</th>
</tr>
<