From ca50e9e5b791b13d58ab02120a824e269842d4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20Dub=C3=A9?= Date: Wed, 11 Nov 2015 12:44:12 -0500 Subject: [PATCH] Flag ol.style.Text setOffsetX and Y as @api --- src/ol/style/textstyle.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ol/style/textstyle.js b/src/ol/style/textstyle.js index f2ff125499..926405dc74 100644 --- a/src/ol/style/textstyle.js +++ b/src/ol/style/textstyle.js @@ -205,6 +205,7 @@ ol.style.Text.prototype.setFont = function(font) { * Set the x offset. * * @param {number} offsetX Horizontal text offset. + * @api */ ol.style.Text.prototype.setOffsetX = function(offsetX) { this.offsetX_ = offsetX; @@ -215,6 +216,7 @@ ol.style.Text.prototype.setOffsetX = function(offsetX) { * Set the y offset. * * @param {number} offsetY Vertical text offset. + * @api */ ol.style.Text.prototype.setOffsetY = function(offsetY) { this.offsetY_ = offsetY;