Remove logos
This commit is contained in:
@@ -7,13 +7,6 @@ import {get as getProjection} from '../proj.js';
|
||||
import _ol_source_State_ from '../source/State.js';
|
||||
|
||||
|
||||
/**
|
||||
* Object literal with config options for the map logo.
|
||||
* @typedef {{href: (string), src: (string)}}
|
||||
*/
|
||||
export var LogoOptions;
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Abstract base class; normally only used for creating subclasses and not
|
||||
@@ -44,12 +37,6 @@ var _ol_source_Source_ = function(options) {
|
||||
*/
|
||||
this.attributions_ = this.adaptAttributions_(options.attributions);
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {string|LogoOptions|undefined}
|
||||
*/
|
||||
this.logo_ = options.logo;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {ol.source.State}
|
||||
@@ -114,16 +101,6 @@ _ol_source_Source_.prototype.getAttributions = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Get the logo of the source.
|
||||
* @return {string|LogoOptions|undefined} Logo.
|
||||
* @api
|
||||
*/
|
||||
_ol_source_Source_.prototype.getLogo = function() {
|
||||
return this.logo_;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Get the projection of the source.
|
||||
* @return {ol.proj.Projection} Projection.
|
||||
@@ -181,15 +158,6 @@ _ol_source_Source_.prototype.setAttributions = function(attributions) {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Set the logo of the source.
|
||||
* @param {string|LogoOptions|undefined} logo Logo.
|
||||
*/
|
||||
_ol_source_Source_.prototype.setLogo = function(logo) {
|
||||
this.logo_ = logo;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Set the state of the source.
|
||||
* @param {ol.source.State} state State.
|
||||
|
||||
Reference in New Issue
Block a user