From 6a0fa114dad9e897c8dcf2404b7c3270d104dcc8 Mon Sep 17 00:00:00 2001 From: Bart van den Eijnden Date: Thu, 3 Sep 2015 08:58:50 +0200 Subject: [PATCH] Make setOpacity on ol.style.Image API --- src/ol/style/imagestyle.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ol/style/imagestyle.js b/src/ol/style/imagestyle.js index 6dd604beee..aa71da5586 100644 --- a/src/ol/style/imagestyle.js +++ b/src/ol/style/imagestyle.js @@ -176,6 +176,7 @@ ol.style.Image.prototype.getSize = goog.abstractMethod; * Set the opacity. * * @param {number} opacity Opacity. + * @api */ ol.style.Image.prototype.setOpacity = function(opacity) { this.opacity_ = opacity;