From ae998a75858082f04ab972d2b85ec5c673ed9ea2 Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Mon, 15 Dec 2014 14:41:35 +0100 Subject: [PATCH] Mark Image style constructor properties `@api` --- src/ol/style/imagestyle.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ol/style/imagestyle.js b/src/ol/style/imagestyle.js index be7c270788..d34d74ce3b 100644 --- a/src/ol/style/imagestyle.js +++ b/src/ol/style/imagestyle.js @@ -70,6 +70,7 @@ ol.style.Image = function(options) { /** * @return {number} Opacity. + * @api */ ol.style.Image.prototype.getOpacity = function() { return this.opacity_; @@ -78,6 +79,7 @@ ol.style.Image.prototype.getOpacity = function() { /** * @return {boolean} Rotate with map. + * @api */ ol.style.Image.prototype.getRotateWithView = function() { return this.rotateWithView_; @@ -104,6 +106,7 @@ ol.style.Image.prototype.getScale = function() { /** * @return {boolean} Snap to pixel? + * @api */ ol.style.Image.prototype.getSnapToPixel = function() { return this.snapToPixel_;