A brilliant patch adding better documentation to all of our controls from an
unnamed contributor on OpenLayers trac. (Closes #1751) git-svn-id: http://svn.openlayers.org/trunk/openlayers@8942 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -8,7 +8,14 @@
|
||||
|
||||
/**
|
||||
* Class: OpenLayers.Control.LayerSwitcher
|
||||
* 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.
|
||||
*
|
||||
* Inherits from:
|
||||
* - <OpenLayers.Control>
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user