HSLayers.Control.Attribution (class)

class HSLayers.Control.Attribution()

Properties

always from some URL

HSLayers.Control.Attribution.attributions
Type :[{String or Object}] (static)

HSLayers.Control.Attribution

HSLayers.Control.Attribution.copyrightDiv

HSLayers.Control.Attribution

Copyright div element

HSLayers.Control.Attribution

“Copyright” link

HSLayers.Control.Attribution.copyrightText

HSLayers.Control.Attribution

HSLayers.Control.Attribution.height

HSLayers.Control.Attribution

HSLayers.Control.Attribution.url

HSLayers.Control.Attribution

fill this option, if you want to get some text to be displayed always from some URL

HSLayers.Control.Attribution.width

HSLayers.Control.Attribution

Methods

Create “Copyright” link, create copyright div and make attribution for every layer.

HSLayers.Control.Attribution.updateAttribution()
Overloaded function from OpenLayers.Control.Attibution

Create “Copyright” link, create copyright div and make attribution for every layer.

HSLayers.Control.Attribution.makeAttributionNode(layer, attribution, dl)
Arguments:
  • layer (OpenLayers.Layer) –
  • attribution (Object) –
  • dl (DOMElement) –
HSLayers.Control.Attribution.appendToExisting(layer)
Arguments:
  • layer (OpenLayers.Layer) –
Returns:

appended or no

Return type:

Boolean

HSLayers.Control.Attribution.onCopyrightClicked()

On copyright click, copyright window is created and filled using updateAttribution().

HSLayers.Control.Attribution.setUrl()

Main Menu


Table Of Contents

Previous topic

HSLayers.Control.ArgParser (class)

Next topic

HSLayers.Control.BoxLayerSwitcher (class)

This Page