From 84a49ec9435013a4337eb21927328dd6804a1915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD=20=D0=90=D0=B3=D0=B0=D1=84=D0=BE?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2?= Date: Wed, 18 Apr 2018 14:52:49 +0300 Subject: [PATCH] Mark functions setRotateWithView and setSnapToPixel of ol/style/Image with @api --- src/ol/style/Image.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ol/style/Image.js b/src/ol/style/Image.js index d195261eb1..572451e402 100644 --- a/src/ol/style/Image.js +++ b/src/ol/style/Image.js @@ -187,6 +187,7 @@ ImageStyle.prototype.setOpacity = function(opacity) { * Set whether to rotate the style with the view. * * @param {boolean} rotateWithView Rotate with map. + * @api */ ImageStyle.prototype.setRotateWithView = function(rotateWithView) { this.rotateWithView_ = rotateWithView; @@ -219,6 +220,7 @@ ImageStyle.prototype.setScale = function(scale) { * Set whether to snap the image to the closest pixel. * * @param {boolean} snapToPixel Snap to pixel? + * @api */ ImageStyle.prototype.setSnapToPixel = function(snapToPixel) { this.snapToPixel_ = snapToPixel;