Use @api annotation instead of @todo api
This commit is contained in:
+16
-16
@@ -86,7 +86,7 @@ goog.inherits(ol.layer.Base, ol.Object);
|
||||
/**
|
||||
* @return {number|undefined} The brightness of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.getBrightness = function() {
|
||||
return /** @type {number|undefined} */ (
|
||||
@@ -101,7 +101,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @return {number|undefined} The contrast of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.getContrast = function() {
|
||||
return /** @type {number|undefined} */ (
|
||||
@@ -116,7 +116,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @return {number|undefined} The hue of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.getHue = function() {
|
||||
return /** @type {number|undefined} */ (this.get(ol.layer.LayerProperty.HUE));
|
||||
@@ -174,7 +174,7 @@ ol.layer.Base.prototype.getLayerStatesArray = goog.abstractMethod;
|
||||
/**
|
||||
* @return {number|undefined} The maximum resolution of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.getMaxResolution = function() {
|
||||
return /** @type {number|undefined} */ (
|
||||
@@ -189,7 +189,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @return {number|undefined} The minimum resolution of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.getMinResolution = function() {
|
||||
return /** @type {number|undefined} */ (
|
||||
@@ -204,7 +204,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @return {number|undefined} The opacity of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.getOpacity = function() {
|
||||
return /** @type {number|undefined} */ (
|
||||
@@ -219,7 +219,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @return {number|undefined} The saturation of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.getSaturation = function() {
|
||||
return /** @type {number|undefined} */ (
|
||||
@@ -240,7 +240,7 @@ ol.layer.Base.prototype.getSourceState = goog.abstractMethod;
|
||||
/**
|
||||
* @return {boolean|undefined} The visiblity of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.getVisible = function() {
|
||||
return /** @type {boolean|undefined} */ (
|
||||
@@ -272,7 +272,7 @@ goog.exportProperty(
|
||||
*
|
||||
* @param {number|undefined} brightness The brightness of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.setBrightness = function(brightness) {
|
||||
this.set(ol.layer.LayerProperty.BRIGHTNESS, brightness);
|
||||
@@ -290,7 +290,7 @@ goog.exportProperty(
|
||||
*
|
||||
* @param {number|undefined} contrast The contrast of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.setContrast = function(contrast) {
|
||||
this.set(ol.layer.LayerProperty.CONTRAST, contrast);
|
||||
@@ -306,7 +306,7 @@ goog.exportProperty(
|
||||
* unchanged. Other values are radians around the color circle.
|
||||
* @param {number|undefined} hue The hue of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.setHue = function(hue) {
|
||||
this.set(ol.layer.LayerProperty.HUE, hue);
|
||||
@@ -320,7 +320,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @param {number|undefined} maxResolution The maximum resolution of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.setMaxResolution = function(maxResolution) {
|
||||
this.set(ol.layer.LayerProperty.MAX_RESOLUTION, maxResolution);
|
||||
@@ -334,7 +334,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @param {number|undefined} minResolution The minimum resolution of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.setMinResolution = function(minResolution) {
|
||||
this.set(ol.layer.LayerProperty.MIN_RESOLUTION, minResolution);
|
||||
@@ -348,7 +348,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @param {number|undefined} opacity The opacity of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.setOpacity = function(opacity) {
|
||||
this.set(ol.layer.LayerProperty.OPACITY, opacity);
|
||||
@@ -367,7 +367,7 @@ goog.exportProperty(
|
||||
*
|
||||
* @param {number|undefined} saturation The saturation of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.setSaturation = function(saturation) {
|
||||
this.set(ol.layer.LayerProperty.SATURATION, saturation);
|
||||
@@ -381,7 +381,7 @@ goog.exportProperty(
|
||||
/**
|
||||
* @param {boolean|undefined} visible The visiblity of the layer.
|
||||
* @todo observable
|
||||
* @todo api
|
||||
* @api
|
||||
*/
|
||||
ol.layer.Base.prototype.setVisible = function(visible) {
|
||||
this.set(ol.layer.LayerProperty.VISIBLE, visible);
|
||||
|
||||
Reference in New Issue
Block a user