Make attributions an array of strings rather than a string

This commit is contained in:
Tom Payne
2012-07-28 01:13:38 +02:00
parent b59fe13242
commit 08735e30ff
3 changed files with 28 additions and 18 deletions
+3 -3
View File
@@ -31,10 +31,10 @@ ol.Store = function(projection, opt_extent) {
/**
* @param {ol.Extent} extent Extent.
* @param {number} resolution Resolution.
* @return {string|undefined} Attribution.
* @return {Array.<string>} Attributions.
*/
ol.Store.prototype.getAttribution = function(extent, resolution) {
return undefined;
ol.Store.prototype.getAttributions = function(extent, resolution) {
return [];
};