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
This commit is contained in:
crschmidt
2006-10-03 12:37:25 +00:00
parent 6fa8994d61
commit 4f58bd4368

View File

@@ -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.