Class: ol.control.Attribution

ol.control.Attribution

new Attribution

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

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 80

disposeInternal

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

getMap

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

handleLayerLoad

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

<protected> handleLayerVisibleChanged

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

<protected> handleLayersAdd

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

<protected> handleLayersRemove

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

<protected> handleMapChanged

Source:
  • attribution.js, line 282

<protected> handleMapLayersChanged

Source:
  • attribution.js, line 302

<protected> removeLayer

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

setMap

Source:
  • attribution.js, line 354