Remove unconditionally exported methods
This commit is contained in:
@@ -94,10 +94,6 @@ goog.inherits(ol.layer.Base, ol.Object);
|
||||
ol.layer.Base.prototype.getBrightness = function() {
|
||||
return /** @type {number} */ (this.get(ol.layer.LayerProperty.BRIGHTNESS));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'getBrightness',
|
||||
ol.layer.Base.prototype.getBrightness);
|
||||
|
||||
|
||||
/**
|
||||
@@ -108,10 +104,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.getContrast = function() {
|
||||
return /** @type {number} */ (this.get(ol.layer.LayerProperty.CONTRAST));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'getContrast',
|
||||
ol.layer.Base.prototype.getContrast);
|
||||
|
||||
|
||||
/**
|
||||
@@ -122,10 +114,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.getHue = function() {
|
||||
return /** @type {number} */ (this.get(ol.layer.LayerProperty.HUE));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'getHue',
|
||||
ol.layer.Base.prototype.getHue);
|
||||
|
||||
|
||||
/**
|
||||
@@ -183,10 +171,6 @@ ol.layer.Base.prototype.getExtent = function() {
|
||||
return /** @type {ol.Extent|undefined} */ (
|
||||
this.get(ol.layer.LayerProperty.EXTENT));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'getExtent',
|
||||
ol.layer.Base.prototype.getExtent);
|
||||
|
||||
|
||||
/**
|
||||
@@ -198,10 +182,6 @@ ol.layer.Base.prototype.getMaxResolution = function() {
|
||||
return /** @type {number} */ (
|
||||
this.get(ol.layer.LayerProperty.MAX_RESOLUTION));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'getMaxResolution',
|
||||
ol.layer.Base.prototype.getMaxResolution);
|
||||
|
||||
|
||||
/**
|
||||
@@ -213,10 +193,6 @@ ol.layer.Base.prototype.getMinResolution = function() {
|
||||
return /** @type {number} */ (
|
||||
this.get(ol.layer.LayerProperty.MIN_RESOLUTION));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'getMinResolution',
|
||||
ol.layer.Base.prototype.getMinResolution);
|
||||
|
||||
|
||||
/**
|
||||
@@ -227,10 +203,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.getOpacity = function() {
|
||||
return /** @type {number} */ (this.get(ol.layer.LayerProperty.OPACITY));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'getOpacity',
|
||||
ol.layer.Base.prototype.getOpacity);
|
||||
|
||||
|
||||
/**
|
||||
@@ -241,10 +213,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.getSaturation = function() {
|
||||
return /** @type {number} */ (this.get(ol.layer.LayerProperty.SATURATION));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'getSaturation',
|
||||
ol.layer.Base.prototype.getSaturation);
|
||||
|
||||
|
||||
/**
|
||||
@@ -261,10 +229,6 @@ ol.layer.Base.prototype.getSourceState = goog.abstractMethod;
|
||||
ol.layer.Base.prototype.getVisible = function() {
|
||||
return /** @type {boolean} */ (this.get(ol.layer.LayerProperty.VISIBLE));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'getVisible',
|
||||
ol.layer.Base.prototype.getVisible);
|
||||
|
||||
|
||||
/**
|
||||
@@ -292,10 +256,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.setBrightness = function(brightness) {
|
||||
this.set(ol.layer.LayerProperty.BRIGHTNESS, brightness);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'setBrightness',
|
||||
ol.layer.Base.prototype.setBrightness);
|
||||
|
||||
|
||||
/**
|
||||
@@ -310,10 +270,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.setContrast = function(contrast) {
|
||||
this.set(ol.layer.LayerProperty.CONTRAST, contrast);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'setContrast',
|
||||
ol.layer.Base.prototype.setContrast);
|
||||
|
||||
|
||||
/**
|
||||
@@ -326,10 +282,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.setHue = function(hue) {
|
||||
this.set(ol.layer.LayerProperty.HUE, hue);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'setHue',
|
||||
ol.layer.Base.prototype.setHue);
|
||||
|
||||
|
||||
/**
|
||||
@@ -342,10 +294,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.setExtent = function(extent) {
|
||||
this.set(ol.layer.LayerProperty.EXTENT, extent);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'setExtent',
|
||||
ol.layer.Base.prototype.setExtent);
|
||||
|
||||
|
||||
/**
|
||||
@@ -356,10 +304,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.setMaxResolution = function(maxResolution) {
|
||||
this.set(ol.layer.LayerProperty.MAX_RESOLUTION, maxResolution);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'setMaxResolution',
|
||||
ol.layer.Base.prototype.setMaxResolution);
|
||||
|
||||
|
||||
/**
|
||||
@@ -370,10 +314,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.setMinResolution = function(minResolution) {
|
||||
this.set(ol.layer.LayerProperty.MIN_RESOLUTION, minResolution);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'setMinResolution',
|
||||
ol.layer.Base.prototype.setMinResolution);
|
||||
|
||||
|
||||
/**
|
||||
@@ -384,10 +324,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.setOpacity = function(opacity) {
|
||||
this.set(ol.layer.LayerProperty.OPACITY, opacity);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'setOpacity',
|
||||
ol.layer.Base.prototype.setOpacity);
|
||||
|
||||
|
||||
/**
|
||||
@@ -403,10 +339,6 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.setSaturation = function(saturation) {
|
||||
this.set(ol.layer.LayerProperty.SATURATION, saturation);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'setSaturation',
|
||||
ol.layer.Base.prototype.setSaturation);
|
||||
|
||||
|
||||
/**
|
||||
@@ -417,7 +349,3 @@ goog.exportProperty(
|
||||
ol.layer.Base.prototype.setVisible = function(visible) {
|
||||
this.set(ol.layer.LayerProperty.VISIBLE, visible);
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.layer.Base.prototype,
|
||||
'setVisible',
|
||||
ol.layer.Base.prototype.setVisible);
|
||||
|
||||
Reference in New Issue
Block a user