ontrol's DOM container is removed automatically.</td>
	</tr>
</table>

<h3>Custom Control Example</h3>

<pre><code>var MyControl = L.Control.extend({
	options: {
position: 'topright'
	},

	onAdd: function (map) {
// create the control container with a particular class name
var container = L.DomUtil.create('div', 'my-custom-control');

// ... initialize other DOM elements, add listeners, etc.

return container;
	}
});

map.addControl(new MyControl());
</code></pre>

<p>If specify your