Allows a copyright message to be displayed depending on whether the given bounds coincides with the currently displayed map window bounds.
| OpenSpace. | Allows 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. | Constructs a new OpenSpace.Control.Copyright object. |
| Functions | |
| getDefaultCopyright | Creates the default OpenSpace.Control.Copyright. |
{OpenSpace.MapBounds} The bounds of the area to display this copyright message.
Constructs a new OpenSpace.Control.Copyright object.
| text | {String} The text of the copyright message. |
| bounds | {OpenSpace.MapBounds} The bounds of the area to display this copyright message. |
OpenSpace.Control.Copyright.getDefaultCopyright = function( mapWidth, smallMapWidth )
Creates the default OpenSpace.Control.Copyright.
| mapWidth | integer specifying the map width |
{OpenSpace.Control.Copyright} A default OpenSpace.Control.Copyright to use for the OpenSpace base mapping layer
Creates the default OpenSpace.Control.Copyright.
OpenSpace.Control.Copyright.getDefaultCopyright = function( mapWidth, smallMapWidth )