ontrol in Leaflet should extend from <a href="/mapbox.js/api/v3.0.0/l-control">Control</a> class and additionally have the following methods:</p>

<table data-id='icontrol'>
	<tr>
<th>Method</th>
<th>Returns</th>
<th>Description</th>
	</tr>
	<tr>
<td><code><b>onAdd</b>(
<nobr>&lt;<a href="/mapbox.js/api/v3.0.0/l-map-class">Map</a>&gt; <i>map</i> )</nobr>
</code></td>

<td><code>HTMLElement</code></td>
<td>Should contain code that creates all the neccessary DOM elements for the control, adds li