added 'overlayadd' and 'overlayremove' descriptions (closes #1709)

This commit is contained in:
Michael Dougherty 2013-05-28 15:18:19 -06:00
parent fd41c32931
commit cc113ff778

View File

@ -527,7 +527,17 @@ var map = L.map('map', {
<tr>
<td><code><b>baselayerchange</b></code></td>
<td><code><a href="#layer-event">LayerEvent</a></code>
<td>Fired when the base layer is changed through the layer control.</td>
<td>Fired when the base layer is changed through the <a href="#control-layers">layer control</a>.</td>
</tr>
<tr>
<td><code><b>overlayadd</b></code></td>
<td><code><a href="#layer-event">LayerEvent</a></code>
<td>Fired when an overlay is selected through the <a href="#control-layers">layer control</a>.</td>
</tr>
<tr>
<td><code><b>overlayremove</b></code></td>
<td><code><a href="#layer-event">LayerEvent</a></code>
<td>Fired when an overlay is deselected through the <a href="#control-layers">layer control</a>.</td>
</tr>
<tr>
<td><code><b>locationfound</b></code></td>
@ -4016,6 +4026,16 @@ L.control.layers(baseLayers, overlays).addTo(map);</code></pre>
<td><code><a href="#layer-event">LayerEvent</a></code>
<td>Fired when the base layer is changed through the control.</td>
</tr>
<tr>
<td><code><b>overlayadd</b></code></td>
<td><code><a href="#layer-event">LayerEvent</a></code>
<td>Fired when an overlay is selected through the control.</td>
</tr>
<tr>
<td><code><b>overlayremove</b></code></td>
<td><code><a href="#layer-event">LayerEvent</a></code>
<td>Fired when an overlay is deselected through the control.</td>
</tr>
</table>