metacat/lib/spatial/openlayers/doc/Control.txt @ 3182
1 |
OpenLayers.Control |
---|---|
2 |
|
3 |
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. |
4 |
|
5 |
* Constructor |
6 |
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. |
7 |
|
8 |
* Parameters |
9 |
position -- {OpenLayers.Pixel} to use as the top-left corner of the control div, relative to the map area. |