Allow source.setAttributions() to be exported
This commit is contained in:
@@ -153,9 +153,11 @@ ol.source.Source.prototype.getWrapX = function() {
|
|||||||
/**
|
/**
|
||||||
* Set the attributions of the source.
|
* Set the attributions of the source.
|
||||||
* @param {Array.<ol.Attribution>} attributions Attributions.
|
* @param {Array.<ol.Attribution>} attributions Attributions.
|
||||||
|
* @api
|
||||||
*/
|
*/
|
||||||
ol.source.Source.prototype.setAttributions = function(attributions) {
|
ol.source.Source.prototype.setAttributions = function(attributions) {
|
||||||
this.attributions_ = attributions;
|
this.attributions_ = attributions;
|
||||||
|
this.changed();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user