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 87

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 237

<protected> handleLayerVisibleChanged

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

<protected> handleLayersAdd

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

<protected> handleLayersRemove

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

<protected> handleMapChanged

Source:
  • attribution.js, line 287

<protected> handleMapLayersChanged

Source:
  • attribution.js, line 307

<protected> removeLayer

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

setMap

Source:
  • attribution.js, line 359