From cc113ff778f971eadc026bef36669fad99a517f1 Mon Sep 17 00:00:00 2001 From: Michael Dougherty Date: Tue, 28 May 2013 15:18:19 -0600 Subject: [PATCH] added 'overlayadd' and 'overlayremove' descriptions (closes #1709) --- reference.html | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/reference.html b/reference.html index 4053d5fd..d2c6b0b4 100644 --- a/reference.html +++ b/reference.html @@ -527,7 +527,17 @@ var map = L.map('map', { baselayerchange LayerEvent - Fired when the base layer is changed through the layer control. + Fired when the base layer is changed through the layer control. + + + overlayadd + LayerEvent + Fired when an overlay is selected through the layer control. + + + overlayremove + LayerEvent + Fired when an overlay is deselected through the layer control. locationfound @@ -4016,6 +4026,16 @@ L.control.layers(baseLayers, overlays).addTo(map); LayerEvent Fired when the base layer is changed through the control. + + overlayadd + LayerEvent + Fired when an overlay is selected through the control. + + + overlayremove + LayerEvent + Fired when an overlay is deselected through the control. +