Class: ol.control.Attribution

ol.control.Attribution

new Attribution

Parameters:
Name Type Description
attributionOptions ol.control.AttributionOptions Attribution options.
Source:
  • attribution.js, line 37

Extends

Members

<protected> element :Element

Inherited From:
Source:
  • control.js, line 30

Methods

<protected> addLayer

Parameters:
Name Type Description
layer ol.layer.Layer Layer.
Source:
  • attribution.js, line 89

getMap

Inherited From:
Source:
  • control.js, line 56
Returns:
Map.
Type
ol.Map

handleLayerLoad

Parameters:
Name Type Description
event goog.events.Event Event.
Source:
  • attribution.js, line 239

<protected> handleLayerVisibleChanged

Parameters:
Name Type Description
event goog.events.Event Event.
Source:
  • attribution.js, line 249

<protected> handleLayersAdd

Parameters:
Name Type Description
collectionEvent ol.CollectionEvent Collection event.
Source:
  • attribution.js, line 269

<protected> handleLayersRemove

Parameters:
Name Type Description
collectionEvent ol.CollectionEvent Collection event.
Source:
  • attribution.js, line 279

<protected> handleMapChanged

Source:
  • attribution.js, line 289

<protected> handleMapLayersChanged

Source:
  • attribution.js, line 309

<protected> removeLayer

Parameters:
Name Type Description
layer ol.layer.Layer Layer.
Source:
  • attribution.js, line 337

setMap

Source:
  • attribution.js, line 361