Allows a control to be placed relative to a corner of the map window and offset from that corner by a specified amount.
| OpenSpace. | Allows a control to be placed relative to a corner of the map window and offset from that corner by a specified amount. |
| Properties | |
| anchor | {OpenSpace.Control.ControlAnchor} Which corner of the window to anchor to. |
| offset | {<OpenLayers.Size>} The offset away from the anchor position towards the centre of the window. |
| Constructor | |
| OpenSpace. | Constructs a new Control.ControlPosition object. |
{OpenSpace.Control.ControlAnchor} Which corner of the window to anchor to.
Constructs a new Control.ControlPosition object.
| anchor | {OpenSpace.Control.ControlAnchor} Which corner of the map window to anchor to. |
| offset | {<OpenLayers.Size>} The offset away from the anchor position towards the centre of the window. |