added 'overlayadd' and 'overlayremove' descriptions (closes #1709)
This commit is contained in:
parent
fd41c32931
commit
cc113ff778
@ -527,7 +527,17 @@ var map = L.map('map', {
|
|||||||
<tr>
|
<tr>
|
||||||
<td><code><b>baselayerchange</b></code></td>
|
<td><code><b>baselayerchange</b></code></td>
|
||||||
<td><code><a href="#layer-event">LayerEvent</a></code>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><b>locationfound</b></code></td>
|
<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><code><a href="#layer-event">LayerEvent</a></code>
|
||||||
<td>Fired when the base layer is changed through the control.</td>
|
<td>Fired when the base layer is changed through the control.</td>
|
||||||
</tr>
|
</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>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user