OpenSpace.Control.Copyright

Allows a copyright message to be displayed depending on whether the given bounds coincides with the currently displayed map window bounds.

Summary
OpenSpace.Control.CopyrightAllows a copyright message to be displayed depending on whether the given bounds coincides with the currently displayed map window bounds.
Properties
text{String} Text of the copyright message.
bounds{OpenSpace.MapBounds} The bounds of the area to display this copyright message.
Constructor
OpenSpace.Control.CopyrightConstructs a new OpenSpace.Control.Copyright object.
Functions
getDefaultCopyrightCreates the default OpenSpace.Control.Copyright.

Properties

text

{String} Text of the copyright message.

bounds

{OpenSpace.MapBounds} The bounds of the area to display this copyright message.

Constructor

OpenSpace.Control.Copyright

Constructs a new OpenSpace.Control.Copyright object.

Parameters

text{String} The text of the copyright message.
bounds{OpenSpace.MapBounds} The bounds of the area to display this copyright message.

Functions

getDefaultCopyright

OpenSpace.Control.Copyright.getDefaultCopyright = function(mapWidth,
smallMapWidth)

Creates the default OpenSpace.Control.Copyright.

Parameters

mapWidthinteger specifying the map width

Returns

{OpenSpace.Control.Copyright} A default OpenSpace.Control.Copyright to use for the OpenSpace base mapping layer

Instances of this class represent bounding boxes.
OpenSpace.Control.Copyright.getDefaultCopyright = function(mapWidth,
smallMapWidth)
Creates the default OpenSpace.Control.Copyright.
Constructs a new OpenSpace.Control.Copyright object.
Close