Documentation for Control classes.

git-svn-id: http://svn.openlayers.org/trunk/openlayers/doc@1247 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-08-16 17:28:52 +00:00
parent a6567afad5
commit f1111a1c11
8 changed files with 84 additions and 0 deletions

9
Control.txt Normal file
View File

@@ -0,0 +1,9 @@
OpenLayers.Control
Base class from which controls are derived. Controls are elements of the map used to control things like zoom, layer status, or to provide information to the user about the status of the map, such as scale or copyright information.
* Constructor
OpenLayers.Control({Object|options}?) -- Creates a new control. The options here are used to control parameters of the control. The base control defines only "position", which is designed to be an {OpenLayers.Pixel} which is the top-left of the location of the control relative to the map div.
* Parameters
position -- {OpenLayers.Pixel} to use as the top-left corner of the control div, relative to the map area.