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:
9
Control.txt
Normal file
9
Control.txt
Normal 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.
|
||||
Reference in New Issue
Block a user