Remove 'attribution' option from ol.source.OSMOptions

This commit is contained in:
Frederic Junod
2013-09-26 14:15:46 +02:00
parent 1f2ae57e73
commit 9891e5fbc2
2 changed files with 0 additions and 3 deletions

View File

@@ -503,7 +503,6 @@
/**
* @typedef {Object} ol.source.OSMOptions
* @property {ol.Attribution|undefined} attribution Attribution.
* @property {Array.<ol.Attribution>|undefined} attributions Attributions.
* @property {number|undefined} maxZoom Max zoom.
* @property {string|undefined} url URL.

View File

@@ -17,8 +17,6 @@ ol.source.OSM = function(opt_options) {
var attributions;
if (goog.isDef(options.attributions)) {
attributions = options.attributions;
} else if (goog.isDef(options.attribution)) {
attributions = [options.attribution];
} else {
attributions = ol.source.OSM.ATTRIBUTIONS;
}