Class: ol.control.Attribution

ol.control.Attribution

new Attribution

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

Extends

Members

<protected> element :Element

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

Methods

<protected> addLayer

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

getMap

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

handleLayerLoad

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

<protected> handleLayerVisibleChanged

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

<protected> handleLayersAdd

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

<protected> handleLayersRemove

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

<protected> handleMapChanged

Source:
  • attribution.js, line 288

<protected> handleMapLayersChanged

Source:
  • attribution.js, line 308

<protected> removeLayer

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

setMap

Source:
  • attribution.js, line 360