new Attribution
Stability: experimental
Create a new attribution to be associated with a layer source.
Example:
source: new ol.source.OSM({
attributions: [
new ol.Attribution({
html: 'All maps © ' +
'<a href="http://www.opencyclemap.org/">OpenCycleMap</a>'
}),
ol.source.OSM.DATA_ATTRIBUTION
],
..
Parameters:
| Name | Type | Description |
|---|---|---|
options |
olx.AttributionOptions | Attribution options. |
- Source:
- attribution.js, line 27
OpenLayers 3