From 4f58bd43685475ed43c9ebb6a8980450daa7b1c0 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Tue, 3 Oct 2006 12:37:25 +0000 Subject: [PATCH] Add 'ascending' flag to LayerSwitcher. Update docs. Add Demo. Add tests. Closes #256 . git-svn-id: http://svn.openlayers.org/trunk/openlayers/doc@1539 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- Control.LayerSwitcher.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Control.LayerSwitcher.txt b/Control.LayerSwitcher.txt index fe9230a8a4..b5988882ea 100644 --- a/Control.LayerSwitcher.txt +++ b/Control.LayerSwitcher.txt @@ -11,4 +11,4 @@ This control will by default display a small image in the upper right corner of * Parameters position -- (inherited from {OpenLayers.Control}) {OpenLayers.Pixel} to use as the top-left corner of the control div, relative to the map area. activeColor -- The color to use for the background of the layer switcher div. - + ascending -- Ascending determines whether layers are added to the layer switcher in ascending or descending order. If ascending is true, the lowest layer is appended to the list first. If ascending is false, the lowest layer is at the very bottom of the LayerSwitcher. Default is true.