The LayerSwitcher control displays a table of contents for the map. This allows the user interface to switch between BaseLasyers and to show or hide Overlays. By default the switcher is shown minimized on the right edge of the map, the user may expand it by clicking on the handle.
To create the LayerSwitcher outside of the map, pass the Id of a html div as the first argument to the constructor.
OpenLayers.
|
The LayerSwitcher control displays a table of contents for the map. |
Properties | |
ascending | {Boolean} |
Constructor | |
OpenLayers.
|
|
Functions | |
destroy |
destroy: function()