OpenSpace.Control.CopyrightCollection

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

Summary
OpenSpace.Control.CopyrightCollectionAllows a collection of copyright messages to be displayed depending on whether the given bounds coincides with the currently displayed map window bounds.
Constructor
OpenSpace.Control.CopyrightCollectionConstruct a new OpenSpace.Control.CopyrightCollection
Functions
addCopyrightAdds a copyright to the collection
getCopyrightNotice
draw{DOMElement}
updateScale
onMapResize

Constructor

OpenSpace.Control.CopyrightCollection

Construct a new OpenSpace.Control.CopyrightCollection

Parameters

options{Object} options - currently has map width populated

Functions

addCopyright

addCopyright: function(copyright)

Adds a copyright to the collection

Parameters

copyright{OpenSpace.Control.Copyright} Copyright to add.

getCopyrightNotice

getCopyrightNotice: function(extent)
extent{String} gets all copyright notices that intersect with the given bounds

draw

draw: function()

Returns

{DOMElement}

updateScale

updateScale: function()

onMapResize

addCopyright: function(copyright)
Adds a copyright to the collection
getCopyrightNotice: function(extent)
draw: function()
{DOMElement}
updateScale: function()
Allows a copyright message to be displayed depending on whether the given bounds coincides with the currently displayed map window bounds.
Close