OpenSpace.Control.ControlPosition

Allows a control to be placed relative to a corner of the map window and offset from that corner by a specified amount.

Summary
OpenSpace.Control.ControlPositionAllows 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.Control.ControlPositionConstructs a new Control.ControlPosition object.

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.Control.ControlPosition

Constructs a new Control.ControlPosition object.

Parameters

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.
Allows a control to be placed relative to a corner of the map window.
Close