Copyright indicator control. Unless explicitly set through the fullsize option, this control will automatically change size depending on the size of the map. If the map shrinks to a threshold point, the copyright will be displayed as small. Likewise if the map grows beyond a particular threshold width, the copyright will be shown in the fullsize form.
var copyright = new EMS.Control.Copyright();
// Create a copyright control that will always be fullsized
var copyright = new EMS.Control.Copyright({fullsize: true});// Create a copyright control that will always be mini
var copyright = new EMS.Control.Copyright({fullsize: false});| EMS. | Copyright indicator control. |
| Constants | |
| FULLSIZE_THRESHOLD | {Integer} the width in pixels that is used to decide, when in dynamic mode, whether or not to render the fullsize or miniature sized copyright control. |
| Properties | |
| fullsize | {Boolean} flag indicating whether to use a fullsized form of the copyright or not. |
| offset | {OpenLayers.Pixel} is the default offset from the edge of the map. |
| position | {Mixed} is either OpenLayers.Pixel or a EMS.Position . |
| Constructor | |
| EMS. | Returns a new copyright control. |
| Functions | |
| destroy | Cleanly delete the resources used by this control. |
| destroy | |
| draw. |
{OpenLayers.Pixel} is the default offset from the edge of the map.
{Mixed} is either OpenLayers.Pixel or a EMS.Position . By default this is set to be the bottom left.
| px | {Mixed} is either OpenLayers.Pixel or a EMS.Position |
{DOMElement} div containing control.
Cleanly delete the resources used by this control.
destroy: function()