new ol.Attribution(options) experimental
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Attribution options.
|
||||||||||
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
],
..| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Attribution options.
|
||||||||||