p panes</a> where they should belong and puts listeners on relevant map events. Called on <code>map.addLayer(layer)</code>.</td>
	</tr>
	<tr>
<td><code><b>onRemove</b>(
<nobr>&lt;<a href="/mapbox.js/api/v2.2.4/l-map-class">Map</a>&gt; <i>map</i> )</nobr>
</code></td>

<td>-</td>
<td>Should contain all clean up code that removes the overlay's elements from the DOM and removes listeners previously added in <code>onAdd</code>. Called on <code>map.removeLayer(layer)</code>.</td>
	</tr>
</table>

<h3