Add deprecation notes for ol.Attribution

This commit is contained in:
Tim Schaub
2017-10-08 15:07:09 -06:00
parent 2dd8fdb5b7
commit b94b8cc40d
3 changed files with 32 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ goog.require('ol.tilegrid');
* ..
*
* @constructor
* @deprecated This class is deprecated and will removed in the next major release.
* @param {olx.AttributionOptions} options Attribution options.
* @struct
* @api

View File

@@ -67,6 +67,7 @@ ol.inherits(ol.source.Source, ol.Object);
/**
* Turns the attributions option into an attributions function.
* @suppress {deprecated}
* @param {ol.AttributionLike|undefined} attributionLike The attribution option.
* @return {?ol.Attribution2} An attribution function (or null).
*/