# Class: Attribution

## ol.Attribution

An attribution for a layer source.

Example:

    source: new ol.source.OSM({
      attributions: [
        new ol.Attribution({
          html: 'All maps © ' +
              'OpenCycleMap'
        }),
        ol.source.OSM.DATA_ATTRIBUTION
      ],
    ..

#### new ol.Attribution(options) experimental

src/ol/attribution.js, line 28

  Name | Type | Description
  --- | --- | ---
  `options` | Attribution options.
  Name | Type | Description
  --- | --- | ---
  `html` | string | HTML markup for this attribution.
  `tileRanges` | Object.<string, Array.<ol.TileRange>> | undefined | optional Tile ranges (FOR INTERNAL USE ONLY).